Closed ferlores closed 9 years ago
Yes I'm pretty sure we are not re-emitting the error so that we don't die on watch mode, if somebody saves an invalid js file or something. I think this one would be ok though
https://github.com/ferlores/cartero/blob/master/index.js#L365
Is that one enough to fail the process properly?
Yes, for my use case I don't need to emit the error in watch mode. I've updated the PR, please check. Thanks!
Thanks for merging. Can you please let me know when you are publishing this patch?
Published in v5.2.1
. Thx!
@dgbeck I'm having a problem when browserify fails. The error is not being propagating and therefore my build process is not failing even if there is an error. It looks like a logic change what I'm proposing but I'm not super sure about re-emiting the error in watch mode. Opinions?
Thanks F