From 43cac703a32563a7b9b2f6e396edf9ebbe7edefa Mon Sep 17 00:00:00 2001 From: Robert Masen Date: Thu, 1 Nov 2018 17:36:47 -0500 Subject: [PATCH] add --watch-only to docs --- docs/content/documentation/getting-started/cli-usage.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/content/documentation/getting-started/cli-usage.md b/docs/content/documentation/getting-started/cli-usage.md index a27edc5b..e74a5acc 100644 --- a/docs/content/documentation/getting-started/cli-usage.md +++ b/docs/content/documentation/getting-started/cli-usage.md @@ -56,6 +56,8 @@ the interface/port combination to use if you want something different than the d You can also specify different addresses for the interface and base_url using `-u`/`--base-url`, for example if you are running zola in a Docker container. +In the event you don't want zola to run a local webserver, you can use the `--watch-only` flag. + ```bash $ zola serve $ zola serve --port 2000 @@ -63,6 +65,7 @@ $ zola serve --interface 0.0.0.0 $ zola serve --interface 0.0.0.0 --port 2000 $ zola serve --interface 0.0.0.0 --base-url 127.0.0.1 $ zola serve --interface 0.0.0.0 --port 2000 --output-dir www/public +$ zola serve --watch-only ``` The serve command will watch all your content and will provide live reload, without