diff options
Diffstat (limited to 'commands')
-rw-r--r-- | commands/hugo.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/hugo.go b/commands/hugo.go index ab847c01e..eb35c8002 100644 --- a/commands/hugo.go +++ b/commands/hugo.go @@ -594,7 +594,7 @@ func NewWatcher(port int) error { for _, ev := range evs { ext := filepath.Ext(ev.Name) - istemp := strings.HasSuffix(ext, "~") || (ext == ".swp") || (ext == ".swx") || (ext == ".tmp") || strings.HasPrefix(ext, ".goutputstream") || strings.HasSuffix(ext, "jb_old___")|| strings.HasSuffix(ext, "jb_bak___") + istemp := strings.HasSuffix(ext, "~") || (ext == ".swp") || (ext == ".swx") || (ext == ".tmp") || strings.HasPrefix(ext, ".goutputstream") || strings.HasSuffix(ext, "jb_old___") || strings.HasSuffix(ext, "jb_bak___") if istemp { continue } @@ -703,7 +703,7 @@ func NewWatcher(port int) error { fmt.Println(time.Now().Format(layout)) //TODO here - // utils.CheckErr(buildSite(true)) + // utils.CheckErr(buildSite(true)) rebuildSite(dynamicFilesChanged) if !BuildWatch && !viper.GetBool("DisableLiveReload") { |