Replies: 1 comment 1 reply
-
|
May be related to #937. |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
I guess this falls in line with
npm run -ws --if-preset <command>, because at the moment if I define a task onturbo.jsonas below:turbo.json
{ "pipeline": { "dev": { "dependsOn": ["build"] } } }package.json
{ "name": "@scope/a", "scripts": { "build": "sleep 10" } }And then call
turbo run dev, even though@scope/adoesn't have a script calleddev, it will still run its build step and delay the process 10 seconds unnecessarily here.So the idea would be that, since that the build script is not dependent, nor necessary for the execution of the
devtask, we could either make that a default and skip unnecessary tasks or allowturbo run dev --if-presentto be defined.Hopefully I am not overseeing anything vital here 😃
Beta Was this translation helpful? Give feedback.
All reactions