summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2018-01-06 10:54:16 +0100
committerBjørn Erik Pedersen <[email protected]>2018-01-06 10:54:16 +0100
commit6feb138785eeb9e813428d0df30010d9b5fb1059 (patch)
treec769bb323e37c8e941dcbb6d59bfa4c8027c09c9
parent059e8458d690dbb9fcd3ebd58cfc61b062d3138e (diff)
downloadhugo-6feb138785eeb9e813428d0df30010d9b5fb1059.tar.gz
hugo-6feb138785eeb9e813428d0df30010d9b5fb1059.zip
commands: Report build time on config.toml change
Fixes #4232 See #4224
-rw-r--r--commands/hugo.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/commands/hugo.go b/commands/hugo.go
index 7f0b6cd05..0e7b755f7 100644
--- a/commands/hugo.go
+++ b/commands/hugo.go
@@ -892,6 +892,7 @@ func (c *commandeer) getDirList() ([]string, error) {
}
func (c *commandeer) recreateAndBuildSites(watching bool) (err error) {
+ defer c.timeTrack(time.Now(), "Total")
if err := c.initSites(); err != nil {
return err
}