Gruntfile.js: watch tasks restructured
This commit is contained in:
		| @@ -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 | ||||||
| 			} | 			} | ||||||
| 		} | 		} | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user