Added browser live reloading to Grunt
This commit is contained in:
11
Gruntfile.js
11
Gruntfile.js
@@ -61,6 +61,17 @@ 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'
|
||||
]
|
||||
}
|
||||
},
|
||||
clean: {
|
||||
|
||||
Reference in New Issue
Block a user