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.
(cherry picked from commit 880ada0a1c)
This commit is contained in:
Ben Newman
2013-06-19 17:29:04 -07:00
committed by Paul O’Shannessy
parent 1c486c40d0
commit 9b810bd7b9
+1
View File
@@ -9,6 +9,7 @@ module.exports = function() {
var args = [
"bin/jsx",
"--cache-dir", ".module-cache",
config.sourceDir,
config.outputDir
];