[enh] Watch ww and ww2 diff

This commit is contained in:
2019-08-31 17:43:29 +02:00
parent f71fe39271
commit 10925352ab
7 changed files with 130 additions and 16 deletions

View File

@@ -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)))
}