diff --git a/src/stdlib/task.coffee b/src/stdlib/task.coffee index 9a180168b..9fa452783 100644 --- a/src/stdlib/task.coffee +++ b/src/stdlib/task.coffee @@ -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'); """