Hi everyone,
I’m using the Automatic mode for deploying a Node.js application on Enhance, and it’s served behind a reverse proxy. The deployment works fine, but I’m facing an issue:
We regularly update the app using git pull, but there doesn’t seem to be any option to restart the Node.js process after code changes. Since Automatic mode doesn’t expose any restart/stop/start controls, the app keeps running the old code until the service is restarted at a higher level.
My questions:
1. Is there a recommended method to manually restart a Node.js app running in Automatic mode?
2. Is there any hidden or documented endpoint/CLI tool to trigger a restart?
3. If not, what’s the best practice for workflows where code is frequently updated (e.g., via git pull)?
4. Will Enhance introduce a restart feature for Automatic mode apps?