mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-16 20:53:59 +02:00
Allow "fast render mode" even if --disableLiveReload is set
Fixes #10561
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user