ref: 277425badac8a3397e6c6b4964f4480d71452f16
parent: cb8f459127615dd312f990ceeae4ac058cb9ec61
author: Steve Francia <steve.francia@gmail.com>
date: Mon Dec 21 14:46:12 EST 2015
Ignore temp files created by IntelliJ when saving
--- a/commands/hugo.go
+++ b/commands/hugo.go
@@ -566,7 +566,7 @@
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
}