0.0.2 • Published 9 years ago

gulp-show-me-file v0.0.2

Weekly downloads
2
License
ISC
Repository
github
Last release
9 years ago

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/'));
});