From 9b810bd7b9e4ae11d9471d6936f9a151d07690db Mon Sep 17 00:00:00 2001 From: Ben Newman Date: Fri, 7 Jun 2013 17:56:52 -0400 Subject: [PATCH] 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 880ada0a1c5c42bd3d438743b2a8e62058ba2f49) --- grunt/tasks/jsx.js | 1 + 1 file changed, 1 insertion(+) diff --git a/grunt/tasks/jsx.js b/grunt/tasks/jsx.js index 6b2f4123d7..f95d016303 100644 --- a/grunt/tasks/jsx.js +++ b/grunt/tasks/jsx.js @@ -9,6 +9,7 @@ module.exports = function() { var args = [ "bin/jsx", + "--cache-dir", ".module-cache", config.sourceDir, config.outputDir ];