dylang / grunt-notify

Automatic Notifications when Grunt tasks fail.
https://npmjs.org/package/grunt-notify
MIT License
921 stars 73 forks source link

Does not work with `grunt-webpack` #106

Open danoc opened 9 years ago

danoc commented 9 years ago

Hello,

I'm trying to use this to report errors from grunt-sass, grunt-postcss, and grunt-webpack. It works for all but grunt-webpack.

I dug into the source code and suspect that it doesn't work because grunt webpack prints the output like this when you have failOnError set to false: screenshot 2015-07-15 14 39 41

(Setting failOnError to true will cause the grunt process to exit completely which I don't want.)

I dug into the grunt-notify code to debug this, but couldn't find the right place to stick a console.log statement so that it prints the message that comes in.

Any tips? I'm happy to fork and submit a PR.