/* | |
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