Partial watch mode #8318
wujekbogdan
started this conversation in
Ideas
Replies: 2 comments
-
|
Persistent tasks are already ignored by Are the tasks not marked as persistent? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
I really would need this feature! In my case I would like that my Prisma package auto builds and compiles when any changes happens inside the package. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Goals
Being able to use a bundler-based watcher for a certain monorepo package and turbo watch for all its monorepo dependencies.
Non-goals
No response
Background
I have a monorepo with several apps that rely on workspace dependencies. Thanks to the newly introduced watch mode, I can run a dev mode for my app that recompiles whenever its monorepo dependencies change, which is great.
The thing is, for the app I'm developing, I would rather use the built-in watcher (because of hot reloading and other goodies) rather than the turbo watch features. For everything else, I would like to rely on
turbo watch.E.g., when running:
that has a dev task defined as:
I would like the
@my-namespace/my-app appto be excluded from turbo watch because it already has a bundler that handles watching. However, I would still like all its monorepo dependencies to be re-built on change thanks toturbo watch.Proposal
I'm not sure what the API for this feature would look like. I think we would need an additional CLI flag or maybe a watch blacklist in the
turbo.jsonfile.Beta Was this translation helpful? Give feedback.
All reactions