Open n8sabes opened 1 year ago
Describe the bug Hot module reload not working with styled updates making it very difficult to develop in Nx. Requires full restart for EVERY edit.
To Reproduce
git clone https://github.com/n8sabes/nx-styled-ve.git
cd nx-styled-ve
pnpm i
nx serve client
Expected behavior Recompile appears to happen, or partially happen, but no updates occur in the browser.
that's weird indeed
my guess is that it's a bug in the nx/vite plugin
plus it only happens for the styled way right? with normal css it still works right?
styled
@shairez, You are correct. It only happens in Vanilla Extract and Styled Vanilla Extract.
Please see video: HERE
Describe the bug Hot module reload not working with styled updates making it very difficult to develop in Nx. Requires full restart for EVERY edit.
To Reproduce
git clone https://github.com/n8sabes/nx-styled-ve.git
cd nx-styled-ve
pnpm i
nx serve client
Expected behavior Recompile appears to happen, or partially happen, but no updates occur in the browser.