From d0f1a5f6b0f57ae30185ee504a46d35206eb2d84 Mon Sep 17 00:00:00 2001 From: cgeek Date: Sun, 3 May 2020 15:28:15 +0200 Subject: [PATCH] [add] webapp on --host and --port (optionals) --- src/dwatcher.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dwatcher.ts b/src/dwatcher.ts index 7d52a95..5ad3cf6 100644 --- a/src/dwatcher.ts +++ b/src/dwatcher.ts @@ -23,7 +23,7 @@ process.on('unhandledRejection', (err) => { try { const watchers: Watcher[] = await dwatch(argv.conf || path.join(__dirname, '../app.yml')) - webappServe(watchers) + webappServe(watchers, argv.host, argv.port) } catch (e) { console.error(e) }