-
-
Notifications
You must be signed in to change notification settings - Fork 727
Open
Description
System Info
System:
OS: Windows 11 10.0.26100
CPU: (20) x64 12th Gen Intel(R) Core(TM) i7-12700K
Memory: 13.11 GB / 31.73 GB
Binaries:
Node: 22.13.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.19 - C:\Users\Brian\.yarn\bin\yarn.CMD
npm: 10.9.2 - C:\Program Files\nodejs\npm.CMD
pnpm: 10.17.1 - C:\Users\Brian\AppData\Local\pnpm\pnpm.EXE
Browsers:
Chrome: 141.0.7390.55
Edge: Chromium (140.0.3485.54)
Firefox: 142.0.1 - C:\Program Files\Mozilla Firefox\firefox.exe
Firefox Developer Edition: 143.0 - C:\Program Files\Firefox Developer Edition\firefox.exe
Internet Explorer: 11.0.26100.1882
npmPackages:
@rspack/cli: 1.5.8 => 1.5.8
@rspack/core: 1.5.8 => 1.5.8
Details
Originally posted in #11878
See STR below:
Expected results: The page refreshes and an exclamation mark "!" appears after the button label.
Actual results: The page does not refresh. If I stop and start cosmos
, however, the content is refreshed.
rspack 1.5.7 produces the expected results as does 1.5.8 when running on Linux.
Repro screencast:
rspack-repro.mp4
Reproduce link
https://github.com/birtles/rspack-react-cosmos-repro
Reproduce Steps
- On Windows, clone https://github.com/birtles/rspack-react-cosmos-repro
- Run
pnpm install
- Run
pnpm start
- Open http://localhost:5000/
- Open the Button fixture from the panel on the left-hand side
- Open the
src/Button.tsx
file from the cloned repository - Add an exclamation mark "!" after the label (i.e.
<button>{label}</button>
→<button>{label}!</button>
)
Metadata
Metadata
Assignees
Labels
No labels