Gruntfile.js: watch tasks restructured

This commit is contained in:
jzgdev 2015-07-01 22:51:01 -07:00
parent 7225d84248
commit cee64858dd

View file

@ -112,9 +112,6 @@ module.exports = function(grunt) {
}, },
watch: { watch: {
options: {
livereload: true
},
js: { js: {
files: [ 'Gruntfile.js', 'js/reveal.js' ], files: [ 'Gruntfile.js', 'js/reveal.js' ],
tasks: 'js' tasks: 'js'
@ -129,6 +126,9 @@ module.exports = function(grunt) {
}, },
html: { html: {
files: [ 'index.html'] files: [ 'index.html']
},
options: {
livereload: true
} }
} }