shithub: hugo

Download patch

ref: f0052b6d0f8e113a50aeb6cd7bd34555dbf34a00
parent: da88015776645cc68b96e8b94030c95905df53ae
author: Bjørn Erik Pedersen <[email protected]>
date: Sun Mar 18 08:54:06 EDT 2018

commands: Recover from error in server

Issue introduced some days ago.

Fixes #4516

--- a/commands/hugo.go
+++ b/commands/hugo.go
@@ -942,6 +942,7 @@
 
 func (c *commandeer) initSites() error {
 	if Hugo != nil {
+		Hugo.Log.ResetLogCounters()
 		return nil
 	}
 	h, err := hugolib.NewHugoSites(*c.DepsCfg)