From a8eccebecacb44e09b13bc3f39ba9e82448c7577 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Tue, 5 Nov 2013 10:25:34 +0000 Subject: [PATCH] feature(cloudcmd) rm config watch --- cloudcmd.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/cloudcmd.js b/cloudcmd.js index a168278f..c74e8726 100644 --- a/cloudcmd.js +++ b/cloudcmd.js @@ -134,16 +134,6 @@ writeLogsToFile(); } - if (Config.server) - Util.tryCatchLog(function() { - fs.watch(CONFIG_PATH, function() { - /* every catch up - calling twice */ - setTimeout(function() { - readConfig(); - }, 1000); - }); - }); - lParams = { appcache : appCacheProcessing, rest : rest,