0.0.2 • Published 9 years ago
gulp-show-me-file v0.0.2
gulp-show-me-file
Show all files in current stream flow, it's very useful when you debug gulpfile.js
Information
Usage
var showFile = require('gulp-show-me-file');
gulp.task('scripts', function() {
return gulp.src('./lib/*.js')
// the following line will show all js files was in ./lib directory in console
.pipe(showFile('before-concat'))
.pipe(concat('all.js'))
// the following line will show file after concating, it will log `[after-concat] /abs/path/to/all.js" in current situation.
.pipe(showFile('after-concat'))
.pipe(gulp.dest('./dist/'));
});