node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »


npm downloads Git issues npm version license


A hacky way of forcing gulp to use plumber by default. See gulp-plumber. Use at your own risk.


npm i gulp-autoplumb


Use as if it were gulp:

const gulp = require('gulp-autoplumb')
gulp.task('default', function(){

Changing the error handler

const gulp = require('gulp-autoplumb')
gulp.handler = function(err){

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.


MIT License