mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -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
|
||||
}
|
||||
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
|
||||
visited["/"] = true
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue