minor changes

This commit is contained in:
coderaiser 2012-11-02 04:06:28 -04:00
parent 341318a4e3
commit a25708700e
4 changed files with 120 additions and 156 deletions

View file

@ -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;

View file

@ -22,4 +22,6 @@
return lModule;
};
exports.isWin32 = process.platform === 'win32';
}());