@hidoo/gulp-util-error-handler
Utility that handle task error for gulp.
Installation
$ npm install --save-dev gulp@next gulp-plumber @hidoo/gulp-util-error-handler
Usage
with gulp-plumber.
import {src, dest, task} from 'gulp';
import plumber from 'gulp-plumber';
import errorHandler from '@hidoo/gulp-util-error-handler';
task('some', () => src('/path/to/src')
.pipe(plumber({errorHandler}))
.pipe(dest('/path/to/dest')));
Test
$ yarn test
License
MIT