Skip to content

Commit

Permalink
commands: Remove some now superflous Fast Render Mode code
Browse files Browse the repository at this point in the history
  • Loading branch information
bep committed Jan 30, 2018
1 parent 94e736c commit feeed07
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions commands/hugo.go
Original file line number Diff line number Diff line change
Expand Up @@ -1156,14 +1156,6 @@ func (c *commandeer) newWatcher(dirList ...string) (*watcher.Batcher, error) {
doLiveReload := !buildWatch && !c.Cfg.GetBool("disableLiveReload")
onePageName := pickOneWriteOrCreatePath(dynamicEvents)

if onePageName != "" && doLiveReload && !c.Cfg.GetBool("disableFastRender") {
p := Hugo.GetContentPage(onePageName)
if p != nil {
c.visitedURLs.Add(p.RelPermalink())
}

}

c.Logger.FEEDBACK.Println("\nChange detected, rebuilding site")
const layout = "2006-01-02 15:04:05.000 -0700"
c.Logger.FEEDBACK.Println(time.Now().Format(layout))
Expand Down

0 comments on commit feeed07

Please sign in to comment.