Having a error in the task runnen fail the current build.
This suggestion is migrated to Developer Community. Please use below link to view the current status.
When a Grunt or Gulp is running through the task runner before a build and the task is being failed (for example when running jshint) it should be possible to fail the entire build or at least have a warning.
Thanks for the suggestion! We are currently evaluating if we will be able to add this to the product and will post more updates here soon. Thanks!
Carl in 't Veld commented
I would like to have better integration between the task runner output and the error pane in Visual Studio. Currently I have to inspect the gulp window to see any build errors.