Handle transform errors with nice logging. #11
Handle transform errors with nice logging. #11ericclemmons merged 1 commit intoericclemmons:masterfrom steida:master
Conversation
|
This still causes a DING in the console, right? That was one problem I've had with other tools that, during |
|
No DING. But also don't break watching, which is more important then DING. I used error code from https://github.com/gruntjs/grunt-contrib-coffee |
|
I'll have to double-check this, then. My react + grunt projects compile with browserify, then depends on that output for remaining build tasks. Regarding importance, returning a proper error/success status from a script takes the cake, but that doesn't prevent this becoming a See this similar thread: karma-runner/grunt-karma#39 |
|
Beeping is a task for watcher, e.g. https://github.com/steida/grunt-este-watch/blob/master/tasks/watch.js#L134 |
|
In the other words, with my watcher it's beeping. |
|
Never mind, I created own Grunt plugin https://github.com/steida/grunt-reactjsx. It leverages Grunt file api better and don't break file watchers. |
Try catch is must to not break Grunt watchers.