LinuxCommandLibrary

live-server

live-server

TLDR

Serve an index.html file and reload on changes

$ live-server
copy


Specify a port (default is 8080) from which to serve a file
$ live-server --port=[8081]
copy


Specify a given file to serve
$ live-server --open=[about.html]
copy


Proxy all requests for ROUTE to URL
$ live-server --proxy=[/]:[http:localhost:3000]
copy

Copied to clipboard