[Bug]: Using sirv
will cause the rsdoctor client HMR to fail #694
Description
Version
@rsdoctor/* @0.4.12 and change the server-static to sirv.
Details
When change the server-static to sirv.
This affects our development, and we can't develop it with the help of hmr. After hmr, the hash changed resources will failed to be fetch.
Reproduce link
Just use the rsdoctor repo.
Reproduce Steps
- @rsdoctor/client & @rsdoctor/sdk change the server-static to sirv
- pnpm i
- Run
pnpm run dev
on packages/components and runpnpm run start
on packages/client. - Run
pnpm run start:analysis
on examples/modern-minimal - change some code on components to reduce the hmr.
- reload the examples's rsdoctor report page, will find the website crash.
Metadata
Assignees
Labels
No labels