diff --git a/crates/project/src/worktree.rs b/crates/project/src/worktree.rs index ba59afd9b9..248a7d3dd7 100644 --- a/crates/project/src/worktree.rs +++ b/crates/project/src/worktree.rs @@ -818,7 +818,7 @@ impl RemoteWorktree { ) -> Result<()> { let mut tx = self.updates_tx.clone(); let payload = envelope.payload.clone(); - cx.background() + cx.foreground() .spawn(async move { tx.send(payload).await.expect("receiver runs to completion"); })