1
0
Fork 0
mirror of https://github.com/gohugoio/hugo.git synced 2025-04-27 06:13:19 +00:00

Reset .Page.Scratch on live-reload

Fixes 
This commit is contained in:
Bjørn Erik Pedersen 2018-04-29 18:24:53 +02:00
parent 001a28c2f9
commit 655983a22d

View file

@ -1587,6 +1587,7 @@ func (s *Site) resetBuildState() {
for _, p := range s.rawAllPages {
p.subSections = Pages{}
p.parent = nil
p.scratch = newScratch()
}
}