grunt-contrib-watch icon indicating copy to clipboard operation
grunt-contrib-watch copied to clipboard

Can't get grunt-eslint to work with grunt-contrib-watch (watch only changed files)

Open sevagsim opened this issue 9 years ago • 1 comments

Can't get grunt-eslint to work with grunt-contrib-watch (watch only changed files)

Thoughts on how to accomplish this with grunt-contrib-watch?

sevagsim avatar Jun 27 '15 19:06 sevagsim

What config are you using? Whats not working?

  watch: {
      babel: {
        options: {
          event: ['changed']
        },
        files: [
          'app/**/modules/*/*.js'
        ],
        tasks: [
          'eslint:app',
          'newer:babel:dev',
          'ngAnnotate'
        ]
      }
  }

eddiemonge avatar Oct 08 '15 22:10 eddiemonge