gulp-sequence
Run a series of gulp tasks in order.
Install
Install with npm
npm install --save-dev gulp-sequence
Usage
var gulp = var gulpSequence = gulp gulp gulp gulp gulp gulp // usage 1, recommend// 1. run 'a', 'b' in parallel;// 2. run 'c' after 'a' and 'b';// 3. run 'd', 'e' in parallel after 'c';// 3. run 'f' after 'd' and 'e'.gulp // usage 2gulp // usage 3gulp gulp
with gulp.watch
:
gulp
API
var gulpSequence =
gulpSequence('subtask1', 'subtask2',...[, callback])
return a thunk function.
var gulp = var gulpSequence = gulp
gulpSequence.use(gulp)
return a new gulpSequence function with the gulp. If you have some errors such as "task xxx is not defined", this will resolve it.
var gulp = var gulpSequence = gulp
License
MIT © Teambition