Add watch task (automatic recompilation).

This commit is contained in:
Stefan Thomas
2012-12-23 00:48:41 +01:00
parent 6398d58ccf
commit b7aee97808

View File

@@ -51,6 +51,16 @@ module.exports = function(grunt) {
dest: "build/ripple-<%= pkg.version %>.js",
minimize: true
}
},
watch: {
sjcl: {
files: ['<config:concat.sjcl.src>'],
tasks: 'concat:sjcl'
},
lib: {
files: 'src/js/*.js',
tasks: 'webpack'
}
}
});