diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-01-30 10:47:38 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-01-30 10:49:24 +0100 |
commit | feeed073c3320b09fb38168ce272ac88b987f1d2 (patch) | |
tree | 3ce185737e09de3d7dd180f1df6373e0d89c607c | |
parent | 94e736c5e167a0ee70a528e1c19d64a47e7929c2 (diff) |
commands: Remove some now superflous Fast Render Mode code
Updates #4339
-rw-r--r-- | commands/hugo.go | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/commands/hugo.go b/commands/hugo.go index ea7444554..31df0d242 100644 --- a/commands/hugo.go +++ b/commands/hugo.go @@ -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)) |