Closed chmontgomery closed 9 years ago
:+1:
Unfortunately I can't figure out a good way to catch stream errors across the board due to a couple issues inherent in node streams:
on('error'
does not return the Vinyl file errored on, just the error.Unless someone else has a better idea, I think I'm going to punt on this issue and only add some documentation on how to handle this problem in your custom transforms.
This should be handled properly now as part of PR #47. Please pull down v2.19.0
and let me know how it works for you!
Currently, when running
bundle.watch
and a file fails to compile (coffee, less, sass, etc), the stream stops with an error. Thewatch
task should instead continue to still run, not bundle the file and log the error.