mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-25 04:14:03 +00:00
commands: Report build time on config.toml change
Fixes #4232 See #4224
This commit is contained in:
parent
059e8458d6
commit
6feb138785
1 changed files with 1 additions and 0 deletions
|
@ -892,6 +892,7 @@ func (c *commandeer) getDirList() ([]string, error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *commandeer) recreateAndBuildSites(watching bool) (err error) {
|
func (c *commandeer) recreateAndBuildSites(watching bool) (err error) {
|
||||||
|
defer c.timeTrack(time.Now(), "Total")
|
||||||
if err := c.initSites(); err != nil {
|
if err := c.initSites(); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue