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 Docker Desktop (with the WSL2 engine) on Windows 11, the dev server doesn't recompile files when HMR is triggered by saving changes, even though the websocket is connected and the page reloads.
The testing project where this occurs was created using npx create rsbuild@latest with the Svelte template.
In rsbuild.config.mjs, I am using usePolling: true in dev.watchFiles.options, similarly to my previous Vite setup, since without it, WSL doesn't register changes made from a Windows application.
Version
Details
When running Docker Desktop (with the WSL2 engine) on Windows 11, the dev server doesn't recompile files when HMR is triggered by saving changes, even though the websocket is connected and the page reloads.
The testing project where this occurs was created using
npx create rsbuild@latest
with the Svelte template.In
rsbuild.config.mjs
, I am usingusePolling: true
indev.watchFiles.options
, similarly to my previous Vite setup, since without it, WSL doesn't register changes made from a Windows application.Reproduce link
https://github.com/jan-bures/rsbuild-test-project
Reproduce Steps
docker compose up -d
in the folder of the example project.src/App.svelte
and save the changes.The text was updated successfully, but these errors were encountered: