ff: ignore noisy chmod event

This commit is contained in:
blob42 2023-09-15 19:38:37 +02:00
parent d6b1603892
commit 7e2b5ebe40

View File

@ -317,7 +317,7 @@ func (f *Firefox) init(ctx *modules.Context) error {
// Setup watcher // Setup watcher
w := &watch.Watch{ w := &watch.Watch{
Path: watchedPath, Path: watchedPath,
EventTypes: []fsnotify.Op{fsnotify.Write, fsnotify.Chmod}, EventTypes: []fsnotify.Op{fsnotify.Write},
EventNames: []string{filepath.Join(watchedPath, "places.sqlite-wal")}, EventNames: []string{filepath.Join(watchedPath, "places.sqlite-wal")},
ResetWatch: false, ResetWatch: false,
} }