Allow "fast render mode" even if --disableLiveReload is set

Fixes #10561
This commit is contained in:
Bjørn Erik Pedersen 2022-12-21 11:02:21 +01:00
parent 41a080b268
commit d20d2651ea
No known key found for this signature in database
GPG key ID: 330E6E2BD4859D8F

View file

@ -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