From bcd5840238a282ef973ae20bc503d88097011561 Mon Sep 17 00:00:00 2001 From: Maciej Kasprzyk Date: Mon, 23 Dec 2024 18:12:54 +0100 Subject: [PATCH] fix: packages listed twice in watch mode (#9644) ### Description Fixes: https://github.com/vercel/turborepo/issues/9538 The `WatchClient::new` already lists packages as a part of `start_ui`. Therefore, an additional prelude print in `WatchClient::start` appears redundant. ### Testing Instructions 1. setup a [devturbo alias](https://github.com/vercel/turborepo/blob/main/CONTRIBUTING.md#manually-testing-turbo) 1. clone https://github.com/remotion-dev/remotion 1. run `devturbo watch make` --- crates/turborepo-lib/src/run/watch.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/crates/turborepo-lib/src/run/watch.rs b/crates/turborepo-lib/src/run/watch.rs index 2220a6caa417e..bccf39ce8c270 100644 --- a/crates/turborepo-lib/src/run/watch.rs +++ b/crates/turborepo-lib/src/run/watch.rs @@ -159,10 +159,6 @@ impl WatchClient { let mut events = client.package_changes().await?; - if !self.run.has_tui() { - self.run.print_run_prelude(); - } - let signal_subscriber = self.handler.subscribe().ok_or(Error::NoSignalHandler)?; // We explicitly use a tokio::sync::Mutex here to avoid deadlocks.