function unwatchAll(){
    for(var filePath in _fileWatchers) {
        if(_fileWatchers[filePath]) _fileWatchers[filePath].close();
        delete _fileWatchers[filePath];
    }
    
    for(var dirPath in _dirWatchers) {
        if(_dirWatchers[dirPath]) _dirWatchers[dirPath].close();
        delete _dirWatchers[dirPath];
    }
}
function unwatchAll(){
    for(var filePath in _fileWatchers) {
        if(_fileWatchers[filePath]) _fileWatchers[filePath].close();
        delete _fileWatchers[filePath];
    }
    
    for(var dirPath in _dirWatchers) {
        if(_dirWatchers[dirPath]) _dirWatchers[dirPath].close();
        delete _dirWatchers[dirPath];
    }
}
function unwatchAll ( ) { for ( var filePath in _fileWatchers ) { if ( _fileWatchers [ filePath ] ) _fileWatchers [ filePath ] . close ( ) ; delete _fileWatchers [ filePath ] ; } for ( var dirPath in _dirWatchers ) { if ( _dirWatchers [ dirPath ] ) _dirWatchers [ dirPath ] . close ( ) ; delete _dirWatchers [ dirPath ] ; } }
Unwatching all files and folders
Unwatching all files and folders