aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2022-12-21 11:02:21 +0100
committerBjørn Erik Pedersen <[email protected]>2022-12-21 11:02:21 +0100
commitd20d2651ea945bc5c0237cc8f8db9e4c16165b5a (patch)
tree067abf396e4a9992971b32014c23d5fcc00fd9d0
parent41a080b26877a737e74444f83fe54c46a9c9f6bc (diff)
downloadhugo-d20d2651ea945bc5c0237cc8f8db9e4c16165b5a.tar.gz
hugo-d20d2651ea945bc5c0237cc8f8db9e4c16165b5a.zip
Allow "fast render mode" even if --disableLiveReload is set
Fixes #10561
-rw-r--r--commands/commandeer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/commandeer.go b/commands/commandeer.go
index a66601dfa..6aca3e3fa 100644
--- a/commands/commandeer.go
+++ b/commands/commandeer.go
@@ -383,7 +383,7 @@ func (c *commandeer) loadConfig() error {
// Set some commonly used flags
c.doLiveReload = c.running && !c.Cfg.GetBool("disableLiveReload")
- c.fastRenderMode = c.doLiveReload && !c.Cfg.GetBool("disableFastRender")
+ c.fastRenderMode = c.running && !c.Cfg.GetBool("disableFastRender")
c.showErrorInBrowser = c.doLiveReload && !c.Cfg.GetBool("disableBrowserError")
// This is potentially double work, but we need to do this one more time now