diff --git a/zed/src/worktree.rs b/zed/src/worktree.rs index 5eb19873cf..a28ad04c48 100644 --- a/zed/src/worktree.rs +++ b/zed/src/worktree.rs @@ -190,7 +190,7 @@ impl Fs for ProductionFs { } } -#[derive(Clone)] +#[derive(Clone, Debug)] struct InMemoryEntry { inode: u64, mtime: SystemTime, @@ -312,6 +312,9 @@ impl InMemoryFs { state.entries.insert(new_path, entry); } + state.emit_event(source).await; + state.emit_event(target).await; + Ok(()) } }