Pipe stream generated from first child task to others. A cascading configurable gulp recipe for gulp-chef.
$ npm install --save-dev gulp-chef gulp-ccr-pipe
Pipe Streams
var gulp = require('gulp');
var chef = require('gulp-chef');
var meals = chef({
'incremental-rebuilding': {
src: 'js/',
dest: 'js/',
pipe: {
'.cached': {
plugin: 'gulp-cached',
src: '*.js'
},
'.uglify': {
plugin: 'gulp-uglify'
},
'.remember': {
plugin: 'gulp-remember'
},
'.concat': {
plugin: 'gulp-concat',
options: 'app.js',
spit: true
}
}
}
});
gulp.registry(meals);