Package Exports
- gulp-plumber
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (gulp-plumber) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
gulp-plumber

A plumber for gulp
This plugin is fixing issue with Node Streams piping. For explanations, read this small article.
Usage
First, install gulp-plumber
as a development dependency:
npm install --save gulp-plumber
Then, add it to your gulpfile.js
:
var plumber = require('gulp-plumber');
var coffee = require('gulp-coffee');
gulp.src('./src/*.ext')
.pipe(plumber())
.pipe(coffee())
.pipe(gulp.dest('./dist'));
API
plumber(options)
Returns Stream, that fixes pipe
methods on Streams that are next in pipeline.
options.inherit
Type: Boolean
Default: true
Monkeypatch pipe
functions in underlying streams in pipeline.
options.errorHandler
Type: Boolean
/ Function
Default: true
Handle errors in underlying streams and output them to console.
function
passed - it will be attached to streamon('error')
.false
passed - error handler will not be attached.undefined
- default error handler will be attached.