From c88cb5c8b55341dc1d9a0e008c4578c8c9ac87f4 Mon Sep 17 00:00:00 2001 From: Michael Ficarra Date: Sun, 4 Sep 2011 12:14:13 -0400 Subject: [PATCH] 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. --- Cakefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Cakefile b/Cakefile index fa7c104c..d188bd2c 100644 --- a/Cakefile +++ b/Cakefile @@ -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