I am trying to use eslint with gulp. I created a task like this:
gulp.task('lint', function () { return gulp.src([ 'components/myjs.js' ])
when I run gulp lint This tells me a lot of mistakes. Now I am trying to fix them one by one. But I need to re-run gulp lint manually so that it gives me an updated report. How to configure it so that it automatically restarts every time you update 'components/myjs.js' ?
source share