@samitouri / QOS-React-2 / commits / 880ada0a1c
Fork 0

The library for web and native user interfaces.

Cache modules for jsx grunt tasks in react-tools/.module-cache.

As of Commoner v0.6.11, the default is to put the cache files in output/.module-cache, which used to be build/modules/.module-cache before this commit. That still happens when you run bin/jsx directly, just not for grunt tasks anymore. The module cache needs to be cleared much less often than build/modules, so it doesn't make sense to throw away all that work.

Ben Newman committed Jun 7, 2013 at 17:56 UTC 880ada0a1c5c42bd3d438743b2a8e62058ba2f49
1 file changed +1
grunt/tasks/jsx.js
+1
@@ -9,6 +9,7 @@ module.exports = function() {
9
10 var args = [
11 "bin/jsx",
12 + "--cache-dir", ".module-cache",
13 config.sourceDir,
14 config.outputDir
15 ];