Skip to content

As a developer, I want hot-reloading in Docker #99

@Lomzem

Description

@Lomzem

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
1.mov
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
2.mov

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingenhancementNew feature or request

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions