Improve error handling on multiple emits
Require jshint to continue grunt exec