Releases: itsananderson/node-web-server-cli
Releases · itsananderson/node-web-server-cli
For there is nothing hidden that will not be disclosed
This release adds a few new features and breaking changes:
Breaking Changes
- The library has been rewritten to accept its config as an object, rather than positional arguments
- The library no longer outputs a message to the console. Instead that is left to the consumer
New Features
- The library accepts a new "hidden" paramater, which enables hidden (dot) files.
- The library supports an array of index files, rather than only supporting a single file
- The CLI now accepts a
--hidden
flag, which enables hidden files/folders - The CLI now accepts a comma separated list of index files:
--index index.html,index.htm,default.html
- The CLI now accepts a
--disable-index
flag, which disables the index altogether