Created
October 14, 2015 08:27
-
-
Save brunogarcia/f0a932a1d48d1ddc5353 to your computer and use it in GitHub Desktop.
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
/* | |
Watch | |
Run tasks whenever watched files change | |
https://www.npmjs.com/package/grunt-contrib-watch | |
*/ | |
'watch': { | |
css: { | |
files: '<%= config.dev %>/assets/scss/*.scss', | |
tasks: ['sass:dev'] | |
}, | |
js: { | |
files: '<%= config.dev %>/assets/js/main.js', | |
tasks: ['jshint'] | |
}, | |
livereload: { | |
options: { | |
livereload: '<%= connect.options.livereload %>' | |
}, | |
files: [ | |
'<%= config.dev %>/{,*/}*.html', | |
'<%= config.dev %>/assets/css/{,*/}*', | |
'<%= config.dev %>/assets/img/{,*/}*', | |
'<%= config.dev %>/assets/js/{,*/}*.js' | |
] | |
} | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment