Reputation: 26557
When running multiple tasks from Gulp CLI, are they run sequentially or parallel?
Example:
gulp taskA taskB
Does it run those in parallel or a series?
My brief test appears to indicate they do it in a series, but I was wondering if it was explicitly documented anywhere. I could not find any documentation that precisely said.
Upvotes: 0
Views: 160
Reputation: 17508
They run in parallel. Gulp cli runs those tasks through gulp.start()
which actually uses the orchestrator
library to run those tasks. See more about orchestrator.start
method:
Note: Tasks run concurrently and therefore may not complete in order. Note: Orchestrator uses sequencify to resolve dependencies before running, and therefore may not start in order.
Upvotes: 2