Skip to content

Add hot reloading #428

Description

@c-w

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.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions