[add] webapp on --host and --port (optionals)
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user