mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-24 17:03:48 +00:00
Use ms precision for static change logging
This commit is contained in:
parent
9299a16c99
commit
bb048d811d
1 changed files with 1 additions and 1 deletions
|
@ -888,7 +888,7 @@ func (c *commandeer) newWatcher(port int) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
c.Logger.FEEDBACK.Println("\nStatic file changes detected")
|
c.Logger.FEEDBACK.Println("\nStatic file changes detected")
|
||||||
const layout = "2006-01-02 15:04 -0700"
|
const layout = "2006-01-02 15:04:05.000 -0700"
|
||||||
c.Logger.FEEDBACK.Println(time.Now().Format(layout))
|
c.Logger.FEEDBACK.Println(time.Now().Format(layout))
|
||||||
|
|
||||||
if c.Cfg.GetBool("forceSyncStatic") {
|
if c.Cfg.GetBool("forceSyncStatic") {
|
||||||
|
|
Loading…
Reference in a new issue