Closed nfroidure closed 10 years ago
Where's the stop function coming from?
On Mon, Mar 24, 2014 at 5:55 AM, Nicolas Froidure notifications@github.comwrote:
gulp.src() .pipe(plumber()) .pipe(myPlugin) .pipe(plumber.stop) .pipe(anotherPlugin()) .pipe(gulp.dest())
Gulp plumber would not patch the pipe method of a plugin by simply testing it's equalty with plumber.stop.
Reply to this email directly or view it on GitHubhttps://github.com/floatdrop/gulp-plumber/issues/10 .
It's just a suggestion ;)
For one plugin patching you could use inherit: false
option.
@floatdrop thx for the tip, but i simplified my use case, i'd like to do it for several plugins.
@nfroidure now you can - https://github.com/floatdrop/gulp-plumber#plumberstop
@floatdrop awesome!
Gulp plumber would not patch the pipe method of a plugin by simply testing if it's contructor match plumber.stop.