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
I want my project to only build when the lint scripts are finished, and I want to start the server when everything is built (meaning it's also linted).
Do I define all scripts / pipelines that need to be finished in every dependsOn Array for every pipeline, or can I create sequences (for start, build needs to be finished, build contains the lint step)?
How do I approach this? Is the turbo.json file I provided correct?
And what is the difference between running npx turbo run lint build start & npx turbo run start, which also seems to pick up the correct steps in the process?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Let's say I have this turbo.json
I'm a bit confused with
dependsOn
.I want my project to only build when the lint scripts are finished, and I want to start the server when everything is built (meaning it's also linted).
Do I define all scripts / pipelines that need to be finished in every dependsOn Array for every pipeline, or can I create sequences (for
start
,build
needs to be finished, build contains thelint
step)?How do I approach this? Is the turbo.json file I provided correct?
And what is the difference between running
npx turbo run lint build start
&npx turbo run start
, which also seems to pick up the correct steps in the process?Beta Was this translation helpful? Give feedback.
All reactions