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
I have configure @rspress/plugin-preview plugin into rspress.config.ts,and in mdx file write code like below:
exportdefault()=><div>test 1</div>
open localhost:3000 after pnpm dev, the preview component show test 1, and then change the test 1 to test 2, the preview component not rerender, the component still show test 1, the code area show test 2 however.
Yes, this is related to a change in Rsbuild web-infra-dev/rsbuild#4058, we improve performance by ignoring node_modules formly. I think @rspress/plugin-preview plugin should watch node_modules to fix this issue.
Version
System: OS: Linux 5.15 Ubuntu 20.04.3 LTS (Focal Fossa) CPU: (8) x64 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz Memory: 10.97 GB / 15.62 GB Container: Yes Shell: 5.0.17 - /bin/bash npmPackages: rspress: ^1.38.0 => 1.38.0
Details
I have configure
@rspress/plugin-preview
plugin into rspress.config.ts,and in mdx file write code like below:open localhost:3000 after pnpm dev, the preview component show test 1, and then change the test 1 to test 2, the preview component not rerender, the component still show test 1, the code area show test 2 however.
Reproduce link
https://codesandbox.io/p/devbox/jxvk3m
Reproduce Steps
docs/index.mdx
The text was updated successfully, but these errors were encountered: