Open paulxuzhang opened 4 years ago
@paulxuzhang Many thanks - PM2 looks very interesting. @nimrod-becker What do you think?
Sounds interesting, need to verify how it behaves in the different deployment platforms :)
This issue had no activity for too long - it will now be labeled stale. Update it to prevent it from getting closed.
Is your feature request related to a problem? Please describe. Description of what the problem is. Have an easier way to restart the endpoint "./src/s3/s3rver_starter.js" if we change .js file in POD for testing/debugging.
Describe the solution you'd like Description of what you want to happen. Leverage PM2 (https://pm2.keymetrics.io/docs/usage/docker-pm2-nodejs/) to restart the endpoint after making changes to .js file in POD. PM2 can automatically restart your application when a file is modified in the current directory or its subdirectories (https://pm2.keymetrics.io/docs/usage/watch-and-restart/)
Describe alternatives you've considered Description of alternative solutions or features you've considered.
Additional context Add any other context or screenshots about the feature request here. https://pm2.keymetrics.io/docs/usage/docker-pm2-nodejs/ https://pm2.keymetrics.io/docs/usage/watch-and-restart/