Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.