mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-28 23:12:14 -05: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
|
// Set some commonly used flags
|
||||||
c.doLiveReload = c.running && !c.Cfg.GetBool("disableLiveReload")
|
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")
|
c.showErrorInBrowser = c.doLiveReload && !c.Cfg.GetBool("disableBrowserError")
|
||||||
|
|
||||||
// This is potentially double work, but we need to do this one more time now
|
// This is potentially double work, but we need to do this one more time now
|
||||||
|
|
Loading…
Reference in a new issue