mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 17:05:17 +00:00
minor changes
This commit is contained in:
parent
18d71f579a
commit
54c4625bf5
1 changed files with 4 additions and 2 deletions
|
|
@ -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');
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue