Ignore Byword temp files

Fixes #2126
This commit is contained in:
Bjørn Erik Pedersen 2016-05-06 20:30:03 +02:00
parent 273a68400f
commit b5030782ae

View file

@ -749,11 +749,11 @@ func NewWatcher(port int) error {
filepath.Base(ev.Name) == "4913" ||
strings.HasPrefix(ext, ".goutputstream") ||
strings.HasSuffix(ext, "jb_old___") ||
strings.HasSuffix(ext, "jb_bak___")
strings.HasSuffix(ext, "jb_bak___") ||
strings.HasPrefix(ext, ".sb-")
if istemp {
continue
}
// Sometimes during rm -rf operations a '"": REMOVE' is triggered. Just ignore these
if ev.Name == "" {
continue