Merge pull request #856 from weslly/grunt-watch-livereload

Added browser live reloading to Grunt
This commit is contained in:
Ben Word
2013-09-02 09:25:23 -07:00

View File

@@ -61,6 +61,19 @@ module.exports = function(grunt) {
'<%= jshint.all %>'
],
tasks: ['jshint', 'uglify', 'version']
},
livereload: {
// Browser live reloading
// https://github.com/gruntjs/grunt-contrib-watch#live-reloading
options: {
livereload: false
},
files: [
'assets/css/main.min.css',
'assets/js/scripts.min.js',
'templates/*.php',
'*.php'
]
}
},
clean: {