Forrest logo
back to context overview

live-server

List of commands for live-server:

  • live-server:tldr:42cf0 live-server: Specify a port (default is 8080) from which to serve a file.
    $ live-server --port=${8081}
    try on your machine
    explain this command
  • live-server:tldr:4fddf live-server: Specify a given file to serve.
    $ live-server --open=${about-html}
    try on your machine
    explain this command
  • live-server:tldr:5bb78 live-server: Serve an `index.html` file and reload on changes.
    $ live-server
    try on your machine
    explain this command
  • live-server:tldr:a775b live-server: Proxy all requests for ROUTE to URL.
    $ live-server --proxy=${-}:${http:localhost:3000}
    try on your machine
    explain this command
back to context overview