From 277425badac8a3397e6c6b4964f4480d71452f16 Mon Sep 17 00:00:00 2001 From: Steve Francia Date: Mon, 21 Dec 2015 19:46:12 -0500 Subject: [PATCH] Ignore temp files created by IntelliJ when saving --- commands/hugo.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/hugo.go b/commands/hugo.go index 89e1094c3..c0a2dff4b 100644 --- a/commands/hugo.go +++ b/commands/hugo.go @@ -566,7 +566,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") + 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 }