ChicoState / ChicoState/djsongmatch
As a developer, I want hot-reloading in Docker
- Dominant language
- Jupyter Notebook
- Stars
- 8
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
### Problem
- The frontend should automatically update every time a file is changed.
- This **significantly** speeds up development by allowing for quick iterations of designs
##### Expected Behavior:
Tested after starting frontend with `pnpm dev` (no Docker)
- After adding the text `Hi` and saving the file, the page updated immediately without me having to switch to the browser and refresh the page
https://github.com/user-attachments/assets/0acabbd5-4a9f-4b7a-96d8-55e1a4ce1c02
##### Docker Behavior:
Tested after starting frontend with `docker compose up`
- After adding the text `Hi` and saving the file, the page **did not** update.
- Worse, stopping the container and rerunning `docker compose up` **did not update the page correctly**
- What _did_ work was rerunning `docker compose up --build`, but it is a **major** inconvenience to have to rebuild the containers every time we want to see how our UI changed
https://github.com/user-attachments/assets/c0f6cfa6-e4ed-4a40-af8a-bbddeda4dc20
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.