fixed bug with cloudcmd.appcache, wich name occures in Aplication Cache

This commit is contained in:
coderaiser 2012-09-14 07:55:15 -04:00
parent 02022e5ea8
commit 96edafef2b

View file

@ -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){}