fixes #580 by `delete`ing the compiler from `require.cache` and `require`ing it again
This commit is contained in:
parent
fc1cdfc913
commit
e5b77b180a
4
Cakefile
4
Cakefile
|
@ -69,7 +69,9 @@ task 'build', 'build the CoffeeScript language from source', build = (cb) ->
|
||||||
task 'build:full', 'rebuild the source twice, and run the tests', ->
|
task 'build:full', 'rebuild the source twice, and run the tests', ->
|
||||||
build ->
|
build ->
|
||||||
build ->
|
build ->
|
||||||
process.exit 1 unless runTests CoffeeScript
|
csPath = fs.realpathSync './lib/coffee-script'
|
||||||
|
unless runTests require csPath
|
||||||
|
process.exit 1
|
||||||
|
|
||||||
|
|
||||||
task 'build:parser', 'rebuild the Jison parser (run build first)', ->
|
task 'build:parser', 'rebuild the Jison parser (run build first)', ->
|
||||||
|
|
Loading…
Reference in New Issue