From e5b77b180a7af41f6df9d5ff65cec9bbecb30519 Mon Sep 17 00:00:00 2001 From: Michael Ficarra Date: Wed, 10 Aug 2011 21:26:16 -0400 Subject: [PATCH] fixes #580 by `delete`ing the compiler from `require.cache` and `require`ing it again --- Cakefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Cakefile b/Cakefile index 92466a7c..fa7c104c 100644 --- a/Cakefile +++ b/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', -> 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)', ->