diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2020-01-22 11:57:23 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2020-01-23 11:50:02 +0100 |
commit | 17af79a03e249a731cf5634ffea23ca00774333d (patch) | |
tree | 66596a159aa57c948f1ffe272e5cd8ab86c7c1bf /hugolib/hugo_sites_build.go | |
parent | 2fefc01606fddb119f368c89fb2dedd452ad6547 (diff) |
Fix 0.62.1 server rebuild slowdown regression
Fixes #6784
Diffstat (limited to 'hugolib/hugo_sites_build.go')
-rw-r--r-- | hugolib/hugo_sites_build.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hugolib/hugo_sites_build.go b/hugolib/hugo_sites_build.go index 901941bda..cf7b14311 100644 --- a/hugolib/hugo_sites_build.go +++ b/hugolib/hugo_sites_build.go @@ -66,6 +66,8 @@ func (h *HugoSites) Build(config BuildCfg, events ...fsnotify.Event) error { h.Metrics.Reset() } + h.testCounters = config.testCounters + // Need a pointer as this may be modified. conf := &config |