diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2021-07-05 10:13:41 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2021-07-05 10:23:29 +0200 |
commit | e31b1d194655ac3a38fe903ff3995806b129b88a (patch) | |
tree | 8ffac9e39952c9f547b7b4e92620c1c05c84bfc5 /docs | |
parent | 43a23239b2e3ad602c06d9af0b648e0304fc8744 (diff) |
commands: Make the --poll flag a duration
So you can do:
```
hugo server --poll 700ms
```
See #8720
Diffstat (limited to 'docs')
-rw-r--r-- | docs/content/en/commands/hugo.md | 2 | ||||
-rw-r--r-- | docs/content/en/commands/hugo_mod.md | 2 | ||||
-rw-r--r-- | docs/content/en/commands/hugo_new.md | 2 | ||||
-rw-r--r-- | docs/content/en/commands/hugo_server.md | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/docs/content/en/commands/hugo.md b/docs/content/en/commands/hugo.md index f1e9c95cb..43d9e77b7 100644 --- a/docs/content/en/commands/hugo.md +++ b/docs/content/en/commands/hugo.md @@ -51,7 +51,7 @@ hugo [flags] --noChmod don't sync permission mode of files --noTimes don't sync modification time of files --path-warnings print warnings on duplicate target paths etc. - --poll use a poll based approach to watch for file system changes + --poll string set this to a poll interval, e.g --poll 700ms, to use a poll based approach to watch for file system changes --print-mem print memory usage to screen at intervals --quiet build in quiet mode --renderToMemory render to memory (only useful for benchmark testing) diff --git a/docs/content/en/commands/hugo_mod.md b/docs/content/en/commands/hugo_mod.md index 70c765e91..044cff1a2 100644 --- a/docs/content/en/commands/hugo_mod.md +++ b/docs/content/en/commands/hugo_mod.md @@ -46,7 +46,7 @@ See https://gohugo.io/hugo-modules/ for more information. --noChmod don't sync permission mode of files --noTimes don't sync modification time of files --path-warnings print warnings on duplicate target paths etc. - --poll use a poll based approach to watch for file system changes + --poll string set this to a poll interval, e.g --poll 700ms, to use a poll based approach to watch for file system changes --print-mem print memory usage to screen at intervals --templateMetrics display metrics about template executions --templateMetricsHints calculate some improvement hints when combined with --templateMetrics diff --git a/docs/content/en/commands/hugo_new.md b/docs/content/en/commands/hugo_new.md index d6afe7ed2..4c49d11c7 100644 --- a/docs/content/en/commands/hugo_new.md +++ b/docs/content/en/commands/hugo_new.md @@ -47,7 +47,7 @@ hugo new [path] [flags] --noChmod don't sync permission mode of files --noTimes don't sync modification time of files --path-warnings print warnings on duplicate target paths etc. - --poll use a poll based approach to watch for file system changes + --poll string set this to a poll interval, e.g --poll 700ms, to use a poll based approach to watch for file system changes --print-mem print memory usage to screen at intervals --templateMetrics display metrics about template executions --templateMetricsHints calculate some improvement hints when combined with --templateMetrics diff --git a/docs/content/en/commands/hugo_server.md b/docs/content/en/commands/hugo_server.md index 3c9675824..d801054dc 100644 --- a/docs/content/en/commands/hugo_server.md +++ b/docs/content/en/commands/hugo_server.md @@ -59,7 +59,7 @@ hugo server [flags] --noHTTPCache prevent HTTP caching --noTimes don't sync modification time of files --path-warnings print warnings on duplicate target paths etc. - --poll use a poll based approach to watch for file system changes + --poll string set this to a poll interval, e.g --poll 700ms, to use a poll based approach to watch for file system changes -p, --port int port on which the server will listen (default 1313) --print-mem print memory usage to screen at intervals --renderToDisk render to Destination path (default is render to memory & serve from there) |