diff --git a/backend/main.go b/backend/main.go index de674acd..e00e7892 100644 --- a/backend/main.go +++ b/backend/main.go @@ -31,7 +31,7 @@ func watchsubdir(watcher *fsnotify.Watcher, pathname string) error { } else { for _, d := range ds { p := path.Join(pathname, d.Name()) - if d.IsDir() { + if d.IsDir() && d.Name() != ".tmp" { if err := watchsubdir(watcher, p); err != nil { return err }