live-server
A simple development HTTP server with live reload capability. More information: https://github.com/tapio/live-server.
-
Serve an
index.htmlfile and reload on changes:
live-server -
Specify a port (default is 8080) from which to serve a file:
live-server --port={{8081}} -
Specify a given file to serve:
live-server --open={{about.html}} -
Proxy all requests for ROUTE to URL:
live-server --proxy={{/}}:{{http:localhost:3000}}
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.