Fix grunt watch. Enable caching, only compile debug version.

This commit is contained in:
Stefan Thomas
2014-01-25 11:25:21 -08:00
parent 014514a4da
commit 0d4357232c

View File

@@ -52,7 +52,8 @@ module.exports = function(grunt) {
entry: "./src/js/ripple/index.js", entry: "./src/js/ripple/index.js",
output: { output: {
library: "ripple" library: "ripple"
} },
cache: true
}, },
lib: { lib: {
output: { output: {
@@ -81,8 +82,8 @@ module.exports = function(grunt) {
tasks: 'concat:sjcl' tasks: 'concat:sjcl'
}, },
lib: { lib: {
files: 'src/js/*.js', files: 'src/js/ripple/*.js',
tasks: 'webpack' tasks: 'webpack:lib_debug'
} }
}, },
dox: { dox: {