Package | gulp-clear-log4js |
Description | Clear the log4js code |
Node Version | >= 0.8 |
npm install gulp-clear-log4js
Example usage with Gulp
var gulp = require('gulp');
var clearLog = require('clear-log4js');
gulp.task('clear-log4js', function() {
gulp.src('./*.*')
.pipe(clearLog())
.pipe(gulp.dest('./'));
});
gulp.task('default', ['clear-log4js']);
// Rerun the task when a file changes
gulp.task('watch', function () {
gulp.watch('./*.*', ['clear-log4js']);
});