mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
e8eb618166
See #1772 Also, force DisableLiveReload to true when running "hugo --watch" (build-only non-server mode) to prevent livereload.ForceRefresh(), which would end up blocking watchConfig() forever, from being called because livereload.Initialize() is never called in this case. This fixes the bug where "hugo --watch" could only reload config.toml once before it gets stuck for good at livereload.ForceRefresh(). This is also consistent with Hugo's existing behaviour: Non-server "hugo --watch" has never injected livereload.js since the inception of the "watch" feature in Hugo v0.12. |
||
---|---|---|
.. | ||
benchmark.go | ||
check.go | ||
convert.go | ||
gen.go | ||
genautocomplete.go | ||
gendoc.go | ||
genman.go | ||
hugo.go | ||
hugo_windows.go | ||
import_jekyll.go | ||
import_jekyll_test.go | ||
limit_darwin.go | ||
limit_others.go | ||
list.go | ||
list_config.go | ||
new.go | ||
new_test.go | ||
server.go | ||
server_test.go | ||
undraft.go | ||
undraft_test.go | ||
version.go |