mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
removed linuxWatch function from main.js
This commit is contained in:
parent
3436f5f4f9
commit
fe26416f6c
2 changed files with 2 additions and 8 deletions
|
|
@ -29,6 +29,8 @@ dispatch
|
|||
|
||||
* Removed function _editFileName from client.js.
|
||||
|
||||
* Removed linuxWatch function from main.js.
|
||||
|
||||
|
||||
2012.04.22, v0.2.0
|
||||
|
||||
|
|
|
|||
|
|
@ -437,12 +437,4 @@
|
|||
return lGZIP;
|
||||
}
|
||||
|
||||
|
||||
function linuxWatch(pFile, pCallBack){
|
||||
fs.watchFile(pFile, function(pCurr, pPrev){
|
||||
if(pCurr.mtime !== pPrev.mtime)
|
||||
Util.exec(pCallBack);
|
||||
});
|
||||
}
|
||||
|
||||
})();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue