Don't allow caching of coffee requires to be overridden in tasks

This is a follow-on to the previous commit which handled the index.html
case.
This commit is contained in:
Kevin Sawicki & Nathan Sobo 2013-07-22 11:50:14 -07:00
parent e705e3e045
commit 1685d62cae

View File

@ -16,6 +16,10 @@ class Task
bootstrap = """
require('coffee-script');
require('coffee-cache').setCacheDir('/tmp/atom-coffee-cache');
Object.defineProperty(require.extensions, '.coffee', {
writable: false,
value: require.extensions['.coffee']
});
require('task-bootstrap');
"""