mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-24 03:05:41 +00:00
chore(appcache) console.log -> Util.log
This commit is contained in:
parent
fe40d99b45
commit
bb84fd6155
1 changed files with 5 additions and 5 deletions
|
|
@ -75,7 +75,7 @@
|
|||
};
|
||||
|
||||
exports.watch = function(pFileName){
|
||||
console.log(pFileName + ' is watched');
|
||||
Util.log(pFileName + ' is watched');
|
||||
|
||||
if(!FileNames[pFileName] &&
|
||||
pFileName !== './cloudcmd.appcache'){
|
||||
|
|
@ -121,8 +121,8 @@
|
|||
|
||||
function onWatch (){
|
||||
return function(pEvent, pFileName){
|
||||
console.log(pEvent);
|
||||
console.log('file ' + pFileName + ' is changed');
|
||||
Util.log(pEvent);
|
||||
Util.log('file ' + pFileName + ' is changed');
|
||||
processManifest();
|
||||
};
|
||||
}
|
||||
|
|
@ -130,7 +130,7 @@
|
|||
function onWatchFile(pFileName){
|
||||
return function(pCurr, pPrev){
|
||||
if(pCurr.mtime !== pPrev.mtime){
|
||||
console.log('file ' + pFileName + ' is changed');
|
||||
Util.log('file ' + pFileName + ' is changed');
|
||||
processManifest();
|
||||
}
|
||||
};
|
||||
|
|
@ -147,7 +147,7 @@
|
|||
FallBack_s;
|
||||
|
||||
fs.writeFile('cloudcmd.appcache', Manifest, function(){
|
||||
console.log('cloudcmd.appcache refreshed');
|
||||
Util.log('cloudcmd.appcache refreshed');
|
||||
});
|
||||
}
|
||||
})();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue