Debugging Vite hot reload when Docker volume mounts stop updating
I ran into a frustrating Vite issue on a small React project that was running inside Docker Compose. The app started fine, tests passed, and the browser loaded normally, but hot reload stopped picking up file changes after a few minutes. It looked like a Vite bug at first, because saving the same file twice sometimes triggered a rebuild and sometimes did nothing. I started by checking the…