Преглед на файлове

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
 			}
 		}