Reset .Page.Scratch on live-reload

Fixes #4683
This commit is contained in:
Bjørn Erik Pedersen committed 2018-04-30 08:21:22 +02:00
1 parent 001a28c2f9
commit 655983a22d
1 file changed
+1
+1
View File
@@ -1587,6 +1587,7 @@ func (s *Site) resetBuildState() {
for _, p := range s.rawAllPages {
p.subSections = Pages{}
p.parent = nil
p.scratch = newScratch()
}
}