mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 18:18:56 +00:00
minor changes
This commit is contained in:
parent
341318a4e3
commit
a25708700e
4 changed files with 120 additions and 156 deletions
|
|
@ -88,7 +88,7 @@ exports.watch = function(pFileName){
|
|||
};
|
||||
|
||||
function setWatachFunctions(){
|
||||
if(process.platform === 'win32'){
|
||||
if(srvfunc.isWin32){
|
||||
/* good on windows */
|
||||
fs_watch = fs.watch;
|
||||
on_fs_watch = onWatch;
|
||||
|
|
|
|||
|
|
@ -22,4 +22,6 @@
|
|||
|
||||
return lModule;
|
||||
};
|
||||
|
||||
exports.isWin32 = process.platform === 'win32';
|
||||
}());
|
||||
Loading…
Add table
Add a link
Reference in a new issue