-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(daemon): lazy load package changes watcher (#9396)
### Description Before we'd initialize the package changes watcher when the daemon starts up. Now we do it only when watch mode needs it. ### Testing Instructions Tested manually: ``` cargo run -p turbo -- --cwd ../my-turborepo --skip-infer daemon restart ``` In different terminal: ``` cargo run -p turbo -- --cwd ../my-turborepo --skip-infer daemon logs ``` Change a file in the repository, note that no logs are emitted for this change. Then run ``` turbo watch dev ``` Note that package changes start showing up.
- Loading branch information
1 parent
180f547
commit 54efd40
Showing
1 changed file
with
19 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters