-
I noticed that when you run the run-many --targets=lint,test,build --projects=*-app I would have considered that the targets should be executed in the specified order? Would this be considered a bug? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @dmcweeney , this isn't a bug, as Nx schedules tasks depending on various factors, including dependent tasks, distribution, etc. If you need to run tasks sequentially, I recommend breaking them out into separate commands. e.g. |
Beta Was this translation helpful? Give feedback.
-
Thanks @jaysoo thats what I suspected! I've broken out the tasks as suggested. |
Beta Was this translation helpful? Give feedback.
Hi @dmcweeney , this isn't a bug, as Nx schedules tasks depending on various factors, including dependent tasks, distribution, etc.
If you need to run tasks sequentially, I recommend breaking them out into separate commands. e.g.
nx run-many -t lint && nx run-many -t test && nx run-many -t build