Created
October 17, 2012 22:11
-
-
Save pghalliday/3908655 to your computer and use it in GitHub Desktop.
grunt-contrib-watch not detecting added files issue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = function(grunt) { | |
grunt.loadNpmTasks('grunt-contrib-watch'); | |
grunt.initConfig({ | |
lint: { | |
files: ['grunt.js', 'src/**/*.js'] | |
}, | |
watch: { | |
scripts: { | |
files: ['<config:lint.files>'], | |
tasks: ['default'] | |
} | |
} | |
}); | |
grunt.registerTask('default', 'lint'); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment