Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to use this module with fastify-cli #13

Open
2 tasks done
nooreldeensalah opened this issue Apr 29, 2022 · 2 comments
Open
2 tasks done

Is it possible to use this module with fastify-cli #13

nooreldeensalah opened this issue Apr 29, 2022 · 2 comments
Labels
good first issue Good for newcomers

Comments

@nooreldeensalah
Copy link

Prerequisites

  • I have written a descriptive issue title
  • I have searched existing issues to ensure the issue has not already been raised

Issue

Hello,

I wanted to know if it's possible to use this plugin when using fastify-cli, because the starter point of the application (i.e., app.js) is a plugin in this case, how would one go to use it along with this module?

If it's indeed possible to use this plugin along with fastify-cli, a minimal example would be helpful.

Thanks,

@mcollina
Copy link
Member

mcollina commented May 4, 2022

Unfortunately not yet. In order to reload things safely (without leaking memory), you'll need to use it in combo with https://github.com/mcollina/fastify-isolate.

@Eomm
Copy link
Member

Eomm commented Sep 3, 2022

It worth adding a doc example here

@Eomm Eomm added the good first issue Good for newcomers label Sep 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants