mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-18 08:59:15 -04:00
parent
c3c10f2c7c
commit
fa53b13ca0
@ -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…
x
Reference in New Issue
Block a user