gulpjs/gulp — pull request #152 by jeromew (2014-01-15 00:10:54+00:00)
Title: Update dealing-with-streams.md

I added streamer.on('error', this.emit.bind(this, 'error')); in the streaming best practice.

this is after discussion on
https://github.com/gulpjs/gulp/issues/145

this way errors emitted by the content streamer are catched by the gulp plugin and re-emitted.

i hope it is ok for you