From 707cd2d734e114f72481b59fb1f2035ebc2d7d5b Mon Sep 17 00:00:00 2001 From: Samuel Reis Date: Wed, 3 Mar 2010 14:32:28 +0100 Subject: [PATCH] updated command_line.js --- lib/command_line.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/command_line.js b/lib/command_line.js index f48acc1f..4e0a89d7 100644 --- a/lib/command_line.js +++ b/lib/command_line.js @@ -126,7 +126,7 @@ watch_scripts = function watch_scripts() { var _a, _b, _c, _d, source, watch; watch = function watch(source) { - return process.watchFile(source, { + return fs.watchFile(source, { persistent: true, interval: 500 }, function(curr, prev) {