You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running the frontend with docker-compose-local.yaml on Windows, changes inside src are reflected in the mounted file system, but Vite does not restart or hot-reload. The dev server stays running and only picks up changes after a manual container restart
This is happening because the file system change events are not getting delivered from Windows to the Linux container
to Chokidar ( vite relies on chokidar for hmr update )
👟 Reproduction steps
compose up using docker-compose-local.yaml
Change something in the frontend src folder
Observe logs of Docker Compose
👍 Expected behavior
Editing any file in the src should trigger Vite HMR immediately
No manual container restart should be required
👎 Actual Behavior with Screenshots
hmrDocsgpt.mp4
This video shows that the changes are reflected in the mounted volume, but the Vite server is getting file change events, resulting in no HMR updates
💻 Operating system
Windows
What browsers are you seeing the problem on?
Chrome
🤖 What development environment are you experiencing this bug on?
Docker
🔒 Did you set the correct environment variables in the right path? List the environment variable names (not values please!)
No response
📃 Provide any additional context for the Bug.
No response
📖 Relevant log output
👀 Have you spent some time to check if this bug has been raised before?
📜 Description
When running the frontend with docker-compose-local.yaml on Windows, changes inside src are reflected in the mounted file system, but Vite does not restart or hot-reload. The dev server stays running and only picks up changes after a manual container restart
This is happening because the file system change events are not getting delivered from Windows to the Linux container
to Chokidar ( vite relies on chokidar for hmr update )
👟 Reproduction steps
👍 Expected behavior
Editing any file in the src should trigger Vite HMR immediately
No manual container restart should be required
👎 Actual Behavior with Screenshots
hmrDocsgpt.mp4
This video shows that the changes are reflected in the mounted volume, but the Vite server is getting file change events, resulting in no HMR updates
💻 Operating system
Windows
What browsers are you seeing the problem on?
Chrome
🤖 What development environment are you experiencing this bug on?
Docker
🔒 Did you set the correct environment variables in the right path? List the environment variable names (not values please!)
No response
📃 Provide any additional context for the Bug.
No response
📖 Relevant log output
👀 Have you spent some time to check if this bug has been raised before?
🔗 Are you willing to submit PR?
Yes, I am willing to submit a PR!
🧑⚖️ Code of Conduct