gulp-karma
gulp-karma copied to clipboard
Add options.dieOnError
Fixes #23 by adding an option to not throw a plugin error.
+1 any reason this hasn't been merged yet?
+1 this makes a lot of sense. However, gulp-karma
will be refactored into more of a helper soon. See https://github.com/lazd/gulp-karma/issues/21#issuecomment-40786028 for details.
@jimthedev and @akreitals, one question: Have you tried adding an error
listener on the stream? That should stop it from dying.
@lazd I think I did, and it would catch the error but still end the stream in certain cases where there was a parse error. With this said, it has been long time since I looked at this so I'm not 100% sure. I don't actually have the branch which used gulp-karma on my project anymore. We're currently using grunt still.
@lazd Yeah sure did, but with no success unfortunately. In the interim I have simply implemented the dieOnError
option while we wait for the Karma issue to be resolved.