Skip to content

Instantly share code, notes, and snippets.

@r3nya
Created March 22, 2016 11:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save r3nya/739021b71bb50c2132a9 to your computer and use it in GitHub Desktop.
Save r3nya/739021b71bb50c2132a9 to your computer and use it in GitHub Desktop.
run-sequence
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