From c7a6c2b12bec0c8402d7fd6461ec5b83f34f8e9b Mon Sep 17 00:00:00 2001 From: coderaiser Date: Thu, 26 Sep 2013 06:34:33 +0000 Subject: [PATCH] refactor(appcache) watch --- lib/server/appcache.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/server/appcache.js b/lib/server/appcache.js index c7738d83..a0a24901 100644 --- a/lib/server/appcache.js +++ b/lib/server/appcache.js @@ -78,11 +78,11 @@ }; exports.watch = function(pFileName) { - Util.log(pFileName + ' is watched'); - if (!FileNames[pFileName] && pFileName !== './cloudcmd.appcache') { - + + Util.log(pFileName + ' is watched'); + /* adding try...catch * if watched files would be more then system limit */