mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
parent
c3c10f2c7c
commit
fa53b13ca0
1 changed files with 2 additions and 1 deletions
|
@ -769,7 +769,8 @@ func (c *commandeer) rebuildSites(events []fsnotify.Event) error {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
visited := c.visitedURLs.PeekAllSet()
|
visited := c.visitedURLs.PeekAllSet()
|
||||||
if !c.Cfg.GetBool("disableFastRender") {
|
doLiveReload := !buildWatch && !c.Cfg.GetBool("disableLiveReload")
|
||||||
|
if doLiveReload && !c.Cfg.GetBool("disableFastRender") {
|
||||||
// Make sure we always render the home page
|
// Make sure we always render the home page
|
||||||
visited["/"] = true
|
visited["/"] = true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue