Does fly support hot reloading of node.js?

I know this question may have been asked by many people,
but I don’t quite understand the principle and specific usage.
Every time you use deploy, a cutoff signal is sent,
and the machine must be stopped before the files inside can be updated, right?

Yes, you can use hot reloading. nodemon might be a more appropriate solution if you are running with NODE_ENV=production.

Machines don’t need to be stopped in order to update files. As an example, fly ssh console can be used to connect to a running machine, and from there you can make changes.

1 Like

From How To to Questions / Help

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.