浏览代码

Gruntfile.js: watch tasks restructured

jzgdev 9 年之前
父节点
当前提交
cee64858dd
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      Gruntfile.js

+ 3 - 3
Gruntfile.js

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