Skip to content

Commit

Permalink
allow require.extensions re-registration
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelficarra committed Feb 23, 2014
1 parent 136c8c1 commit cd67139
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/register.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions src/register.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,5 @@ unless fork.coffeePatched
options.execPath or= coffeeBinary
fork file, args, options
child_process.fork.coffeePatched = yes

delete require.cache[__filename]

0 comments on commit cd67139

Please sign in to comment.