-
Everything is working great with this project except that apparently gunicorn is not able to survive from e.g. coding errors. App crashes -> I fix the error -> code changes are not being monitored anymore and app does not reload. As a workaround I have to manually restart the web container. Am I missing something here or could there be e.g. dev configuration for using |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Here's my fix unless better solution is provided 😄
And then build image again. Obviously UPDATE: My previous solution will mess up the
And you're done. |
Beta Was this translation helpful? Give feedback.
That is one way to solve it. The concern there is not using the same app server in development vs production. That's why I tend to stick with gunicorn in all environments although it shouldn't be too bad.
I'm not aware of too many other options unless you had a wrapper process start gunicorn which always stays up and then if it detects gunicorn went down it would restart it. Basically a process monitor.