refactor(appcache) watch

This commit is contained in:
coderaiser 2013-09-26 06:34:33 +00:00
parent 1df8f01758
commit c7a6c2b12b

View file

@ -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
*/