-
SummaryI'm trying the new canary watch command and it works fine a the main task doesn't have any dependencies. Problem
This is a simplistic example of a build process that in a real world would be running Different kind of persistent tasksI don't think this is covered in the configuration but there a difference between How to runnpx [email protected] watch serve
Trigger a change in the build dependencyE.g. change
As you can see the ReferencesI tried to remove the dependency on It looks like there's some code in place to actually abort the persisted task when changed, but I'm not familiar with the implementation? turbo/crates/turborepo-lib/src/run/watch.rs Line 291 in 7a9d839 There are some issues open that's related to the dependency chain but I'm not sure if it could be related? Example |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Can you say more about what you mean by "main task"? Do you have a minimal reproduction we could look at? |
Beta Was this translation helpful? Give feedback.
-
This means that the persistent task need to run something like |
Beta Was this translation helpful? Give feedback.
#8107 (comment)
This means that the persistent task need to run something like
node --watch
and take care of the restart by its own.