Commit 66ea2934 authored by Kjetil Thuen's avatar Kjetil Thuen

Added watch and notification to grunt

parent d5482482
......@@ -46,6 +46,15 @@ module.exports = function(grunt) {
dist: ['dist', 'lib'],
bower: ['bower_components']
},
watch: {
scripts: {
files: ['**/*.js'],
tasks: ['jshint', 'concat'],
options: {
spawn: false
}
}
},
bump: {
options: {
files: ['package.json', 'bower.json'],
......@@ -61,6 +70,8 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-contrib-clean');
grunt.loadNpmTasks('grunt-bower-task');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-notify');
grunt.loadNpmTasks('grunt-bump');
// Tasks
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment