diff --git a/crates/nu-command/src/filesystem/watch.rs b/crates/nu-command/src/filesystem/watch.rs index a10db1706f..22f22c0976 100644 --- a/crates/nu-command/src/filesystem/watch.rs +++ b/crates/nu-command/src/filesystem/watch.rs @@ -251,7 +251,8 @@ impl Command for Watch { .pop() .map(|path| event_handler("Remove", path, None)) .unwrap_or(Ok(())), - EventKind::Modify(ModifyKind::Data(DataChange::Content)) => one_event + EventKind::Modify(ModifyKind::Data(DataChange::Content)) + | EventKind::Modify(ModifyKind::Data(DataChange::Any)) => one_event .paths .pop() .map(|path| event_handler("Write", path, None))