@spiderdisco/quickserve
v1.2.2
Published
Quick and simple development server.
Downloads
10
Readme
quickserve!
Quick command-line development server.
Features
- Serve any local directory.
- Serve single page applications (SPAs); React, Angular, etc.
- Browser-sync
Useage
To serve the current directory:
quickserve
To serve another directory:
quickserve --directory /path/to/my website
# or
quickserve --d /path/to/my website
To serve a SPA:
quickserve --spa
All routes will be directed to index.html, allowing the app to handle routing.
To set the port to serve on:
quickserve --port 9999
# or
quickserve -p 9999
To set the port to run browser-sync on:
quickserve --sync 8888
# or
quickserve -s 8888
To disable browser-sync:
quickserve --nosync