Another attempt to fix #1580... still haven't come up with a good way to

test it, though. Hopefully the third time is... the one that works.
This commit is contained in:
Michael Ficarra 2011-09-04 12:14:13 -04:00
parent d1af5163eb
commit c88cb5c8b5
1 changed files with 2 additions and 1 deletions

View File

@ -69,7 +69,8 @@ task 'build', 'build the CoffeeScript language from source', build = (cb) ->
task 'build:full', 'rebuild the source twice, and run the tests', ->
build ->
build ->
csPath = fs.realpathSync './lib/coffee-script'
csPath = './lib/coffee-script'
delete require.cache[require.resolve csPath]
unless runTests require csPath
process.exit 1