Run gulp tasks in series.
You can install
series using npm.
$ npm install --save-dev @whitneyit/series
First, read the official guide on running tasks in series. If this still does not address your use case then this package may be able to help.
Some good use cases for this plugin are if you are spinning up multiple instances of phantomjs or some other potentially memory intensive task. If this doesn't sound like what you're doing then this package is probably not for you.
Once installed, create a
gulpfile.js and define some tasks.
// gulpfile.jsvar gulp = ;var casper = ;var karma = serve;var series = gulp;gulp;gulp;gulp;
By structuring the
gulpfile.js like this it allows you to call each child
task without having to have the tasks depend on each other.
If you made the
test:ui task depend upon the
test:unit task, every time you
gulp test:ui you will run your unit tests as well. This package alleviates