gulp-autoplumb
A hacky way of forcing gulp to use plumber by default. See gulp-plumber. Use at your own risk.
Installation
npm i gulp-autoplumb
Usage
Use as if it were gulp:
const gulp = gulp
Changing the error handler
const gulp = gulp{ console console this}
If you want plumber to work properly, be sure to include this.emit('end')
.
How it works
This module will replace gulp.src
with a proxy function. This function return's the original gulp.src
and pipes plumber onto it.