Hey! Did anyone manage to get Hot Reload working o...
# general
b
Hey! Did anyone manage to get Hot Reload working on a Python backend with Docker?
f
Yes, you just need to set restartable to True in your pex_binary.
❤️ 1
b
aa perfect, I thought it would be some config on the docker side, so I was not finding anything. Thanks!
f
docker_image targets also have the restartable field, so you can hot reload those as well.
b
does it work if I am using a docker-compose on top of those images? i can't get it to work
b
Hey, I have yet to make it work. I even added the restartable flag to the example-docker repo, both in the pex and in the docker image. But I never manage to get it to hot reload. Any tips on this?
👀 1