Fixing issues go vet reports.

This commit is contained in:
Mike Keesey
2014-02-28 22:31:21 -07:00
committed by spf13
parent 2c0ded7f9f
commit 2540d884d8
11 changed files with 25 additions and 33 deletions

View File

@@ -213,12 +213,12 @@ func NewWatcher(port int) error {
}
if static_changed {
fmt.Println("Static file changed, syncing\n")
fmt.Print("Static file changed, syncing\n\n")
utils.CheckErr(copyStatic(), fmt.Sprintf("Error copying static files to %s", Config.GetAbsPath(Config.PublishDir)))
}
if dynamic_changed {
fmt.Println("Change detected, rebuilding site\n")
fmt.Print("Change detected, rebuilding site\n\n")
utils.StopOnErr(buildSite(true))
}
case err := <-watcher.Error: