diff --git a/crates/project/src/worktree.rs b/crates/project/src/worktree.rs index ba59afd9b9589df37bdf45c44739636fc55936a6..248a7d3dd7ab6d64780a4078189fb8bb03f3912a 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"); })