You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since the generate job should run before the dev job, so I use dependsOn. When I run turbo run dev --parallel, the generate job just work as expected, while the dev job doesn't run at all, the first job somehow blocks the second job, have no idea what's wrong.
Expected Behavior
The dev job can also run, or Turborepo can have watch mode as mentioned in the issue.
To Reproduce
Git clone this demo, install dependencies and run yarn dev
The text was updated successfully, but these errors were encountered:
Hello! Technically this is expected behavior since you defined dev to depend on generate:watch so dev won't get run until the generate:watch process exits.
I'm closing this as I believe the request will be covered by the closing of #986. Feel free to reopen if you feel this issue requires a different solution.
@chris-olszewski thanks for the quick response, is there a concrete schedule or plan of the watch mode? I'm pretty sure a lot of users are expecting this feature.
We don't have a concrete schedule, but we have just started to sketch out how this could work. We'll communicate more on the original issue or an RFC once we have a concrete proposal.
What version of Turborepo are you using?
1.5.4
What package manager are you using / does the bug impact?
Yarn v1
What operating system are you using?
Mac
Describe the Bug
Currently I'm using Turborepo to develop a GraphQL based app while I meet some problems when achieving the following three goals
Here's my
turbo.json
fileHere's my server's
package.json
fileSince the
generate
job should run before thedev
job, so I use dependsOn. When I runturbo run dev --parallel
, thegenerate
job just work as expected, while thedev
job doesn't run at all, the first job somehow blocks the second job, have no idea what's wrong.Expected Behavior
The
dev
job can also run, or Turborepo can have watch mode as mentioned in the issue.To Reproduce
Git clone this demo, install dependencies and run
yarn dev
The text was updated successfully, but these errors were encountered: