[enh] Watch ww and ww2 diff
This commit is contained in:
@@ -4,6 +4,7 @@ import * as fs from 'fs';
|
||||
import {ws2pWatcher} from "./watchers/ws2p/ws2p-watcher";
|
||||
import {bmaWatcher} from "./watchers/bma/bma-watcher";
|
||||
import {dprobeHeartbeat} from './watchers/dprobe/dprobe-heartbeat-watcher'
|
||||
import {webDiffWatcher} from "./watchers/webdiff/webdiff-watcher";
|
||||
|
||||
export async function dwatch(confFile: string) {
|
||||
|
||||
@@ -13,4 +14,5 @@ export async function dwatch(confFile: string) {
|
||||
await Promise.all((conf.ws2pServers || []).map(ws2pWatcher(conf)))
|
||||
await Promise.all((conf.bmaServers || []).map(bmaWatcher(conf)))
|
||||
await Promise.all((conf.dprobeHeartbeats || []).map(dprobeHeartbeat(conf)))
|
||||
await Promise.all((conf.webDiffServers || []).map(webDiffWatcher(conf)))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user