Browse Source

Mention that serve deletes the public dir as well

index-subcmd
Vincent Prouillet 5 years ago
parent
commit
cae9223ebd
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      docs/content/documentation/getting-started/cli-usage.md

+ 2
- 0
docs/content/documentation/getting-started/cli-usage.md View File

@@ -58,6 +58,8 @@ 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. In the event you don't want zola to run a local webserver, you can use the `--watch-only` flag.


Before starting, it will delete the public directory to ensure it starts from a clean slate.

```bash ```bash
$ zola serve $ zola serve
$ zola serve --port 2000 $ zola serve --port 2000


Loading…
Cancel
Save