Permalink
Browse files

Fix hugo -w

Fixes #3980
  • Loading branch information...
bep committed Oct 18, 2017
1 parent c3c10f2 commit fa53b13ca0ffb1db6ed20f5353661d3f8a5fd455
Showing with 2 additions and 1 deletion.
  1. +2 −1 commands/hugo.go
View
@@ -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
}

0 comments on commit fa53b13

Please sign in to comment.