diff --git a/lib/server/appcache.js b/lib/server/appcache.js index b97c52e5..68a2c618 100644 --- a/lib/server/appcache.js +++ b/lib/server/appcache.js @@ -61,7 +61,9 @@ function setWatachFunctions(){ function onWatch (pFileName){ return function(pEvent, pFileName){ - console.log('file ' + pFileName + 'is changed'); + console.log(pEvent); + console.log('file ' + pFileName + ' is changed'); + }; } @@ -69,7 +71,7 @@ function onWatchFile(pFileName){ return function(pCurr, pPrev){ console.log(pCurr); if(pCurr.mtime !== pPrev.mtime) - console.log('file ' + pFileName + 'is changed'); + console.log('file ' + pFileName + ' is changed'); }; }