Why do I need to restart docker container to update code changes
I am developing a Django-based application in a Docker container. All the volumes are set up correctly but I noticed something concerning file updates in the docker container. After some time, the docker container cannot update the file in the container despite changes in my host machine. I am forced to restart the container to make the changes reflect. What could be the cause of this issue? Why files in a docker container may be out of sync with files in the host machine yet the volumes are correctly mapped?