There is such a task for js:
yeah
To check js for correctness, I use JSHint for Sublime Text 3.
However, when the watch task is running, js is saved (saving launches JSHint for ST3) with errors and js started in which uglify() occurs, the watch crashes and the input string is simply output.
Tired of re-starting the server every time through the default task, so I would like to figure it out: how to display an error, but not to leave the watch ?

    1 answer 1

    Use the error holder for this.
    The easiest way to put gulp-plumber at the very beginning of the flow of each task (after gulp.src). And then, if an error occurs, watch does not fall, but simply spits out the error.

    • Oh, norms. I will try, I will mark then as the answer if I cope with the task. Thank you) - VostokSisters