Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add hot reloading #428

Open
c-w opened this issue May 4, 2020 · 0 comments
Open

Add hot reloading #428

c-w opened this issue May 4, 2020 · 0 comments

Comments

@c-w
Copy link
Member

c-w commented May 4, 2020

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.

exec "${PY_ENV}/bin/watchmedo" \
auto-restart \
--debug-force-polling \
--directory="${rootdir}/opwen_email_server" \
--pattern='*.py' \
--recursive \
-- "$@"

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant