mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Add SHA-1 based CoffeeScript compile cache
This restores the require cache that was used pre-node integration
This commit is contained in:
@@ -45,7 +45,7 @@ class Task
|
||||
constructor: (taskPath) ->
|
||||
bootstrap = """
|
||||
require('coffee-script');
|
||||
require('coffee-cache').setCacheDir('/tmp/atom-coffee-cache');
|
||||
require('coffee-cache');
|
||||
Object.defineProperty(require.extensions, '.coffee', {
|
||||
writable: false,
|
||||
value: require.extensions['.coffee']
|
||||
|
||||
Reference in New Issue
Block a user