Skip to content

Commit 3e832f3

Browse files
authored
Merge pull request #21771 from Wilfred/watch_dirs_recursively
fix: File watcher should watch directories recursively
2 parents 16e4436 + 81cd966 commit 3e832f3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/vfs-notify/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ impl NotifyActor {
324324

325325
fn watch(&mut self, path: &Path) {
326326
if let Some((watcher, _)) = &mut self.watcher {
327-
log_notify_error(watcher.watch(path, RecursiveMode::NonRecursive));
327+
log_notify_error(watcher.watch(path, RecursiveMode::Recursive));
328328
}
329329
}
330330

0 commit comments

Comments
 (0)