Use ms precision for static change logging
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 15 Nov 2017 07:52:29 +0000 (08:52 +0100)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 15 Nov 2017 07:52:29 +0000 (08:52 +0100)
commands/hugo.go

index 5961ede3bfdec7c4924592f56aeafb896ebb6d05..63c5e3159b67248a54c321da4939aa4d651aefa2 100644 (file)
@@ -888,7 +888,7 @@ func (c *commandeer) newWatcher(port int) error {
                                        }
 
                                        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))
 
                                        if c.Cfg.GetBool("forceSyncStatic") {