Skip to content

Commit

Permalink
fix: packages listed twice in watch mode (#9644)
Browse files Browse the repository at this point in the history
### Description
Fixes: #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`
  • Loading branch information
maciej-ka authored Dec 23, 2024
1 parent 161d33d commit bcd5840
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions crates/turborepo-lib/src/run/watch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit bcd5840

Please sign in to comment.