minor changes

This commit is contained in:
coderaiser 2012-09-14 08:14:42 -04:00
parent dc38e5fb8d
commit 147fab95c7

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();
}
};
}