Ignore temp files created by IntelliJ when saving

This commit is contained in:
Steve Francia committed 2015-12-23 17:45:39 -05:00
1 parent cb8f459127
commit 277425bada
1 file changed
+1 -1
+1 -1
View File
@@ -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
}