mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-23 17:41:00 +00:00
Allow "fast render mode" even if --disableLiveReload is set
Fixes #10561
This commit is contained in:
parent
41a080b268
commit
d20d2651ea
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue