You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
const server = await restartable(initServer, { logger: true })
// How to read server.config.port?
How does one access the underlying server object to read things like .config? The wrapper seems to return an object { then: undefined } which has the apps prototype copied over.
Prerequisites
Issue
Previously without this module we would boot fastify as follows:
With restartable, this looks like:
How does one access the underlying server object to read things like .config? The wrapper seems to return an object
{ then: undefined }
which has the apps prototype copied over.restartable/index.js
Line 9 in 0b02b0d
Currently I see:
The text was updated successfully, but these errors were encountered: