-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
The project used to have hot reloading of Python and Javascript code in Docker containers via watchmedo and react-scripts combined with docker-compose volume mounts.
lokole/docker/docker-entrypoint-dev.sh
Lines 9 to 15 in b114e82
| exec "${PY_ENV}/bin/watchmedo" \ | |
| auto-restart \ | |
| --debug-force-polling \ | |
| --directory="${rootdir}/opwen_email_server" \ | |
| --pattern='*.py' \ | |
| --recursive \ | |
| -- "$@" |
lokole/docker/docker-compose.dev.yml
Lines 23 to 26 in b114e82
| webapp: | |
| volumes: | |
| - ./opwen_email_client:/app/opwen_email_client | |
| - ./opwen_email_server:/app/opwen_email_server |
In #426 we had to remove hot reloading since volume mounting was causing issues with files disappearing inside of the container. We want to find a way to bring back hot reloading without affecting the stability of the docker system.