aboutsummaryrefslogtreecommitdiffhomepage
path: root/hugolib/hugo_sites_build.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2018-06-05 10:05:20 +0300
committerBjørn Erik Pedersen <[email protected]>2018-06-05 10:45:24 +0300
commitbf5f10faa9fd445c4dd21839aa7d73cd2acbfb85 (patch)
treec00b47586809b7fb9d8ba13f22eb8a3194245b5f /hugolib/hugo_sites_build.go
parent019bd5576be87c9f06b6a928ede1a5e78677f7b3 (diff)
downloadhugo-bf5f10faa9fd445c4dd21839aa7d73cd2acbfb85.tar.gz
hugo-bf5f10faa9fd445c4dd21839aa7d73cd2acbfb85.zip
Reset the "distinct error logger" on rebuilds
Fixes #4818
Diffstat (limited to 'hugolib/hugo_sites_build.go')
-rw-r--r--hugolib/hugo_sites_build.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/hugolib/hugo_sites_build.go b/hugolib/hugo_sites_build.go
index e22aabfc5..7769b68dc 100644
--- a/hugolib/hugo_sites_build.go
+++ b/hugolib/hugo_sites_build.go
@@ -131,6 +131,7 @@ func (h *HugoSites) initRebuild(config *BuildCfg) error {
s.resetBuildState()
}
+ h.resetLogs()
helpers.InitLoggers()
return nil