How does egg.js do Hot deployment or does egg-scripts have a 0-second restart similar to pm2?
- Egg-development built-in during the development period will restart automatically.
- We do not recommend stand-alone Hot deployment on the line. In actual business, it is generally necessary to have an lb block in front to cut off traffic and restart the cluster in a balanced way.
- If you have any requirements, you can see the instructions of PM2 starting egg in FAQ.