Open paulxuzhang opened 4 years ago
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/
@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 :)
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/