[BUG] using docker compose run --watch
my app is restarting more than once after every file change
#12087
Labels
docker compose run --watch
my app is restarting more than once after every file change
#12087
Description
I have a docker compose file that uses a watch configuration. sync+restart
Everything works as expected, except I see that after every single save, my app restarts more than once which while isn't the end of the world is a bit annoying.
Here is my compose file
Ideally after every save it should only restart once
Steps To Reproduce
Run a flask app behind gunicorn. Create a watch config, then run docker compose up --watch
Compose Version
Docker Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: