From 655983a22dc35b2ee5119dcc4acb9918498d2d68 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Sun, 29 Apr 2018 18:24:53 +0200 Subject: [PATCH] Reset .Page.Scratch on live-reload Fixes #4683 --- hugolib/site.go | 1 + 1 file changed, 1 insertion(+) diff --git a/hugolib/site.go b/hugolib/site.go index 2a55e433..989238be 100644 --- a/hugolib/site.go +++ b/hugolib/site.go @@ -1587,6 +1587,7 @@ func (s *Site) resetBuildState() { for _, p := range s.rawAllPages { p.subSections = Pages{} p.parent = nil + p.scratch = newScratch() } } -- 2.30.2