Debug gulp stream content
var through = require('through2'); | |
function task () { | |
return gulp.src([ some, files ]) | |
.pipe(concat('app.css')) | |
.pipe(through.obj(function (chunk, enc, callback) { | |
console.log(chunk.contents.toString()) | |
this.push(chunk); | |
callback(); | |
})); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment