diff --git a/lib/server-impl.js b/lib/server-impl.js index b4505469cf..2b4cf9bc95 100644 --- a/lib/server-impl.js +++ b/lib/server-impl.js @@ -87,7 +87,9 @@ async function start(opts) { throw err; } - return createApp(options); + const instance = await createApp(options); + + return instance; } module.exports = {