From 9f3796a31dc217b2b8094f948266b23ac3808aa6 Mon Sep 17 00:00:00 2001 From: Steve Francia Date: Thu, 7 Jan 2016 21:48:13 -0500 Subject: Read/reread individual source content files next is incremental conversion --- commands/hugo.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'commands') 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") { -- cgit v1.2.3