spalger / gulp-jshint

JSHint plugin for gulp
MIT License
419 stars 65 forks source link

jshint.reporter('fail') is not stopping task when execution comes from a watch #161

Closed mmadrigalac closed 4 years ago

mmadrigalac commented 5 years ago

Hi there,

Running a task where jshint.reporter('fail') reports an error seems to work fine by its own stopping the task, however when the same tasks is ran using a watch, the stream keeps going even if any error comes up.

I'm using "gulp-jshint": "~2.1.0".