Open
Description
Context
The frontend
container does not support "hot reload" for local development within the container. This is because our Dockerfile
does not have functionality for running a dev build. The solution would be to update the frontend/Dockerfile
to have both dev and prod builds that would change based on the context it is being run from.
- If it is being run locally, use the local build which should support hot-reload and link to local files
- If run for production, build the production bundle without the need for hot-reload
Note
- The current stop-gap solution is to run the frontend outside of the docker container leveraging
npm install && npm run dev
oryarn install && yarn dev
Metadata
Metadata
Assignees
Labels
No labels