hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit 277425badac8a3397e6c6b4964f4480d71452f16
parent cb8f459127615dd312f990ceeae4ac058cb9ec61
Author: Steve Francia <steve.francia@gmail.com>
Date:   Mon, 21 Dec 2015 19:46:12 -0500

Ignore temp files created by IntelliJ when saving

Diffstat:
Mcommands/hugo.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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
 					}