From d6212cfc795d3848ff080cd89998ef678e83278b Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Thu, 12 Feb 2015 11:16:12 -0800 Subject: [PATCH] Start caching source maps --- static/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/static/index.js b/static/index.js index 670da0072..36f6d4a67 100644 --- a/static/index.js +++ b/static/index.js @@ -15,6 +15,8 @@ window.onload = function() { // This sets require.extensions['.coffee']. require('coffee-cash').register(path.join(cacheDir, 'coffee')); + require('coffeestack').setCacheDirectory(path.join(cacheDir, 'coffee', 'source-maps')); + require('season').setCacheDir(path.join(cacheDir, 'cson')); // This redefines require.extensions['.js'].