Skip to content

A gulp plugin that logs out the file names in the stream. Displays a count and if empty. Useful for debugging.

License

Notifications You must be signed in to change notification settings

adamayres/gulp-filelog

Repository files navigation

gulp-filelog

NPM version Build Status Coverage Status Dependency Status

A gulp plugin that logs out the file names in the stream. Displays a count and if empty. Useful for debugging.

Usage

First, install gulp-filelog as a development dependency:

npm install --save-dev gulp-filelog

Then, add it to your gulpfile.js:

Output the file names in the stream

var filelog = require('gulp-filelog');

gulp.src('./src/*.ext')
    .pipe(filelog())
	.pipe(gulp.dest('./dist'));

Output the file names in the stream with a task name identifier

var filelog = require('gulp-filelog');

gulp.src('./src/*.ext')
    .pipe(filelog('someTask'))
	.pipe(gulp.dest('./dist'));

API

filelog([task])

task

Type: String

The name of original task, this will be outputted to the stdout along with the file name.

License

MIT License

About

A gulp plugin that logs out the file names in the stream. Displays a count and if empty. Useful for debugging.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •