Created
July 1, 2015 08:20
-
-
Save torgeir/7da4c63d1a200a534b87 to your computer and use it in GitHub Desktop.
Debug gulp stream content
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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