Replies: 1 comment
-
I like it. I hope vite can support HMR for package update, using yalc |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm using Stencil 4.19 to build web components and document them in Storybook 8.0.8.
Storybook is shipped with Vite 5.3.4
I have an issue with Stencil, when I update a web component storybook doesn't detect this change and so the hot reload doesn't work. Even with F5 it doesn't work, I have to stop storybook process and start it again.
I noticed that when I edit a tsconfig.json I have this message :
15:46:15 [vite] changed tsconfig file detected: ...\packages\stencil-storybook\tsconfig.json - Clearing cache and forcing full-reload to ensure TypeScript is compiled with updated config values.
This cache clearing + forcing reload work and my web components are updated in storybook.
I'm looking for a way to always have cache disabled.
Anyone can help me please ?
Beta Was this translation helpful? Give feedback.
All reactions