minor changes

This commit is contained in:
coderaiser 2012-09-14 08:14:42 -04:00
parent afb0c1bff7
commit 82f44a0313

View file

@ -64,15 +64,17 @@ function onWatch (pFileName){
return function(pEvent, pFileName){
console.log(pEvent);
console.log('file ' + pFileName + ' is changed');
processManifest();
};
}
function onWatchFile(pFileName){
return function(pCurr, pPrev){
console.log(pCurr);
if(pCurr.mtime !== pPrev.mtime)
if(pCurr.mtime !== pPrev.mtime){
console.log('file ' + pFileName + ' is changed');
processManifest();
}
};
}