package
Run a series of gulp tasks in order.
npm install gulp-sequenceGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
Estimated unpacked size across 2 packages.
40.5 kB
Includes dependencies.
Run a series of gulp tasks in order.
Install with npm
npm install --save-dev gulp-sequencevar gulp = require('gulp')
var gulpSequence = require('gulp-sequence')
gulp.task('a', function (cb) {
//... cb()
})
gulp.task('b', function (cb) {
//... cb()
})
gulp.task('c', function (cb) {
//... cb()
})
gulp.task('d', function (cb) {
//... cb()
})
gulp.task('e'
with gulp.watch:
gulp.watch('src/**/*.js', function (event) {
gulpSequence('a', 'b')(function (err) {
if (err) console.log(err)
})
})var gulpSequence = require('gulp-sequence')return a thunk function.
var gulp = require('gulp')
var gulpSequence = require('gulp-sequence')
gulp.task('test', gulpSequence(['a', 'b'], 'c', ['d', 'e'], 'f'))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 = require('gulp')
var gulpSequence = require('gulp-sequence').use(gulp)
gulp.task('test', gulpSequence(['a', 'b'], 'c', ['d', 'e'], 'f'))MIT © Teambition