removed commented code
This commit is contained in:
parent
75c08d5b53
commit
08067310cc
1 changed files with 0 additions and 21 deletions
|
@ -31,17 +31,6 @@ async function start() {
|
|||
logger.error(err);
|
||||
}
|
||||
}
|
||||
|
||||
// return new Promise((resolve, reject) => {
|
||||
// logger.info('starting ' + watchers.length + ' watcher(s)...');
|
||||
// var promises = [];
|
||||
// for (var index = 0; index < watchers.length; index++) {
|
||||
// promises.push(watchers[index].start());
|
||||
// }
|
||||
// Promise.all(promises)
|
||||
// .then(resolve)
|
||||
// .catch(reject);
|
||||
// });
|
||||
}
|
||||
|
||||
async function stop() {
|
||||
|
@ -53,16 +42,6 @@ async function stop() {
|
|||
logger.error(err);
|
||||
}
|
||||
}
|
||||
|
||||
// return new Promise((resolve, reject) => {
|
||||
// var promises = [];
|
||||
// for (var index = 0; index < watchers.length; index++) {
|
||||
// promises.push(watchers[index].stop());
|
||||
// }
|
||||
// Promise.all(promises)
|
||||
// .then(resolve)
|
||||
// .catch(reject);
|
||||
// });
|
||||
}
|
||||
|
||||
function watcherCallback(watcher) {
|
||||
|
|
Loading…
Reference in a new issue