Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

Add Hot-Reloading for Dockerized Builds #416

Open
NolanTrem opened this issue Aug 3, 2023 · 0 comments
Open

Add Hot-Reloading for Dockerized Builds #416

NolanTrem opened this issue Aug 3, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@NolanTrem
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
During the process of developing and testing our Dockerized application, it can be quite tedious to rebuild the Docker image and restart the container every time we make a change to our codebase. This process is not only time-consuming, but it also interrupts our workflow, leading to reduced productivity and longer development times.

Describe the solution you'd like
Implementing a hot-reloading feature in our Dockerized workflow would allow us to see the changes made to the codebase in real-time, without having to manually rebuild the image and restart the container. This could be achieved by using volume mounting to share the code between the host and the Docker container. When a file is modified on the host, the changes would immediately be reflected in the Docker container.

Describe alternatives you've considered
We have considered using Docker's built-in caching mechanism to speed up image rebuilds. However, this still requires manually rebuilding the image and restarting the container. Another option we considered is using a file watcher that triggers a container restart when it detects changes. This method still results in a delay, as the container needs to restart each time a change is made.

Additional context
Hot reloading is a common feature in many development environments and it significantly improves the developer experience. It allows developers to stay in the 'flow' of coding, by providing immediate feedback and reducing the wait time associated with rebuilding and restarting. This would be a beneficial feature to add to our Dockerized development workflow.

@NolanTrem NolanTrem added the enhancement New feature or request label Aug 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant