From 2e6947eb4a9f324a83c44b3b179f8b890e9a545f Mon Sep 17 00:00:00 2001 From: SheaClose Date: Sun, 10 Dec 2017 21:37:01 -0600 Subject: [PATCH] live-server: add page --- pages/common/live-server.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pages/common/live-server.md b/pages/common/live-server.md index c2734af77..ebbb2a42f 100644 --- a/pages/common/live-server.md +++ b/pages/common/live-server.md @@ -2,18 +2,18 @@ > 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` -* Specify a port from which to serve a file: +- Specify a port from which to serve a file: `live-server --port={{8081}}` -* Specify a given file to serve: +- Specify a given file to serve: `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}}`