diff --git a/crates/server/src/actors/file_watcher.rs b/crates/server/src/actors/file_watcher.rs index 4ad2e922..52875b95 100644 --- a/crates/server/src/actors/file_watcher.rs +++ b/crates/server/src/actors/file_watcher.rs @@ -32,7 +32,7 @@ impl FileWatcher { let inotify = Inotify::init()?; inotify.watches().add( path.clone(), - WatchMask::MODIFY | WatchMask::CREATE | WatchMask::DELETE, + WatchMask::MODIFY | WatchMask::CREATE | WatchMask::DELETE | WatchMask::ATTRIB, )?; Ok(Self { path,