shithub: hugo

Download patch

ref: feeed073c3320b09fb38168ce272ac88b987f1d2
parent: 94e736c5e167a0ee70a528e1c19d64a47e7929c2
author: Bjørn Erik Pedersen <[email protected]>
date: Tue Jan 30 05:47:38 EST 2018

commands: Remove some now superflous Fast Render Mode code

Updates #4339

--- a/commands/hugo.go
+++ b/commands/hugo.go
@@ -1156,14 +1156,6 @@
 					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))