mirror of https://github.com/CrimsonTome/tldr.git
live-server: add page
parent
4f1486b2f5
commit
2e6947eb4a
|
@ -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}}`
|
||||||
|
|
||||||
* Specify a given file to serve:
|
- Specify a given file 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}}`
|
||||||
|
|
Loading…
Reference in New Issue