summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--commands/hugo.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/commands/hugo.go b/commands/hugo.go
index a56ec56aa..769fb37ee 100644
--- a/commands/hugo.go
+++ b/commands/hugo.go
@@ -942,6 +942,7 @@ func (c *commandeer) resetAndBuildSites() (err error) {
func (c *commandeer) initSites() error {
if Hugo != nil {
+ Hugo.Log.ResetLogCounters()
return nil
}
h, err := hugolib.NewHugoSites(*c.DepsCfg)