Skip to content

Commit 45c91c3

Browse files
committed
Document serve's --debounce flag in cli-usage.md
Ref: 6737349 Ref: #2937 Ref: https://zola.discourse.group/t/watch-debounce-configuration/2666
1 parent 31ac20f commit 45c91c3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/content/documentation/getting-started/cli-usage.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,11 @@ a hard refresh if possible. If you are using WSL2 on Windows, make sure to store
100100
Some changes cannot be handled automatically and thus live reload may not always work. If you
101101
fail to see your change or get an error, try restarting `zola serve`.
102102

103+
By default, the live reload will be debounced by one full second so as to more
104+
gracefully handle multiple changes to your input files in rapid succession. You
105+
have control over that debouncing duration with the debounce flag. You may use
106+
`-d0` to disable it altogether.
107+
103108
You can also point to a config file other than `config.toml` like so (note that the position of the `config` option is important):
104109

105110
```bash

0 commit comments

Comments
 (0)