@cluejs/gulp-error-handler
v1.2.0
Published
Pipe handler for gulp.js based on gulp-plumber and gulp-notify
Downloads
5
Readme
gulp-error-handler
Pipe handler for gulp.js based on gulp-plumber and gulp-notify
Install:
npm i cluejs/gulp-error-handler --save-dev
npm i gulp-notify -g
Options:
- (Boolean)
exitOnError
: emitprocess.exit(1)
on Error
Usage:
...
global.$$ = {};
$$.env = require('@cluejs/gulp-env');
$$.gulp_error_handler = require('@cluejs/gulp-error-handler');
...
gulp.src()
.pipe($$.gulp_error_handler({exitOnError: $$.env.isProduction()}))
...