restartable icon indicating copy to clipboard operation
restartable copied to clipboard

Is it possible to use this module with `fastify-cli`

Open nooreldeensalah opened this issue 2 years ago • 2 comments

Prerequisites

  • [X] I have written a descriptive issue title
  • [X] 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,

nooreldeensalah avatar Apr 29 '22 21:04 nooreldeensalah

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.

mcollina avatar May 04 '22 09:05 mcollina

It worth adding a doc example here

Eomm avatar Sep 03 '22 09:09 Eomm