live-server:

coverage
SheaClose 2017-12-10 17:18:55 -06:00
parent 1250ef3a1f
commit ca8f40c2e3
1 changed files with 4 additions and 4 deletions

View File

@ -2,18 +2,18 @@
> A simple development http server with live reload capability. > A simple development http server with live reload capability.
* Serve an index.html file, and reload on changes: - Serve an index.html file, and reload on changes:
`live-server` `live-server`
* Specify a port from which to serve a file: - Specify a port from which to serve a file:
`live-server --port=8081` `live-server --port=8081`
* Select file other than index.html to serve: - Select file other than index.html to serve:
`live-server --open=about.html` `live-server --open=about.html`
* Proxy all requests for ROUTE to URL: - Proxy all requests for ROUTE to URL:
`live-server --proxy=/:http:localhost:3000` `live-server --proxy=/:http:localhost:3000`