AB
PD🧩 Plasmo Developers
•Created by AB on 1/4/2024 in #👟framework
HMR broken - Using Tailwind + RadixUI (Shadcn) with Plasmo
Tech Stack: Tailwind + RadixUI (Shadcn), Plasmo, Typescript, React Icons.
Turborepo based --> apps/browser, packages/ui
All UI components are based in packages/ui and implemented from there. Extension content is in
content.tsx
and background.tsx
.
HMR is literally so slow/broken. I make a change, it takes atleast about 60 seconds to maybe work.
75% of the time I have to kill the entire server and start it again. So basically a 1 line change takes about 2 minutes to preview.
Is there a quick little fix for this? Can I customize Parcel/SWR underneath? or use some other bundler? I've historically had a lot of issues with Parcel and just try to avoid it.
Here's a similar issue I think: https://github.com/PlasmoHQ/plasmo/issues/6642 replies