Helper for grunt-contrib-watch. Watch file changes and execute tasks only on changed files.