From 4f1486b2f5f916f119e6f79eb1259f81c404769e Mon Sep 17 00:00:00 2001 From: SheaClose Date: Sun, 10 Dec 2017 21:34:49 -0600 Subject: [PATCH] live-server: add page --- pages/common/live-server.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pages/common/live-server.md b/pages/common/live-server.md index ec312c468..c2734af77 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` +`live-server --port={{8081}}` -- Select file other than index.html 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}}`