From 96edafef2b8ed9c4a171a9c4e39906bfe0a635b9 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Fri, 14 Sep 2012 07:55:15 -0400 Subject: [PATCH] fixed bug with cloudcmd.appcache, wich name occures in Aplication Cache --- lib/server/appcache.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/server/appcache.js b/lib/server/appcache.js index 68a2c618..9c016276 100644 --- a/lib/server/appcache.js +++ b/lib/server/appcache.js @@ -31,7 +31,8 @@ exports.createManifest = function(){ exports.watch = function(pFileName){ console.log(pFileName + ' is watched'); - if(!FileNames[pFileName]){ + if(!FileNames[pFileName] && + pFileName !== 'cloudcmd.appcache'){ try{ fs_watch(pFileName, on_fs_watch(pFileName)); }catch(pError){}