mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-21 21:35:28 +02:00
Use ms precision for static change logging
This commit is contained in:
@@ -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") {
|
||||||
|
Reference in New Issue
Block a user