[add] webapp on --host and --port (optionals)

This commit is contained in:
2020-05-03 15:28:15 +02:00
parent 24d9d6578a
commit d0f1a5f6b0

View File

@@ -23,7 +23,7 @@ process.on('unhandledRejection', (err) => {
try { try {
const watchers: Watcher[] = await dwatch(argv.conf || path.join(__dirname, '../app.yml')) const watchers: Watcher[] = await dwatch(argv.conf || path.join(__dirname, '../app.yml'))
webappServe(watchers) webappServe(watchers, argv.host, argv.port)
} catch (e) { } catch (e) {
console.error(e) console.error(e)
} }