Skip to content

Commit

Permalink
refs #33 add grant-shell to run livereloadx as a task
Browse files Browse the repository at this point in the history
  • Loading branch information
ryuzee committed Aug 16, 2015
1 parent 803c41a commit 8bc0860
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ module.exports = function(grunt){
}
},
clean: ["app/tmp/logs/*", "!app/tmp/**/.gitkeep"],
shell: {
reloadx: {
command: './node_modules/.bin/livereloadx'
}
},
watch: {
css: {
files: ['app/webroot/css/**/*.css'],
Expand All @@ -39,6 +44,7 @@ module.exports = function(grunt){
grunt.loadNpmTasks('grunt-contrib-cssmin');
grunt.loadNpmTasks('grunt-contrib-csslint');
grunt.loadNpmTasks('grunt-contrib-clean');
grunt.loadNpmTasks('grunt-shell');

grunt.registerTask('default', ['watch']);
};
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"grunt-contrib-csslint": "~0.5.0",
"grunt-contrib-clean": "~0.6.0",
"grunt-contrib-connect": "*",
"grunt-shell":"*",
"livereloadx":"*"
}
}

0 comments on commit 8bc0860

Please sign in to comment.