Created
March 22, 2016 11:25
-
-
Save r3nya/739021b71bb50c2132a9 to your computer and use it in GitHub Desktop.
run-sequence
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var runSequence = require('run-sequence'); | |
gulp.task('some-task', function() { | |
runSequence( | |
['task-1', 'task-2', 'task-3'], // These 3 can be done in parallel | |
'task-4', // ...then just do this | |
['task-5', 'task-5'], // ...then do these things in parallel | |
'task-6', // ...then do this | |
// .... | |
); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment