Skip to content

Instantly share code, notes, and snippets.

@floatdrop
Created January 5, 2014 10:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save floatdrop/8266618 to your computer and use it in GitHub Desktop.
Save floatdrop/8266618 to your computer and use it in GitHub Desktop.
gulp.src(...)
.pipe(gutil.forwardErrors(pluginA()))
.pipe(gutil.forwardErrors(pluginB()))
.pipe(gutil.forwardErrors(pluginC()))
.on('error', function () {
throw new Error("Do not send to production!");
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment