Skip to content
Discussion options

You must be logged in to vote

Hi @thedomeffm, thank you for upgrading early and for the feedback - just added beforeListen() as option to defineServer() now, you can use it like this:

const server = defineServer({
  // ...
  beforeListen: async () => {/*...*/}
});

Please let me know if you have any other issues

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by thedomeffm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants