Open justjoeyuk opened 5 years ago
So sorry I didn't get back to you on this @justjoeyuk. I have noticed this myself as well, I haven't spent much time debugging it, but it sounds like you have nailed it down. Have you made any progress on this? If not I will try to take a look, but I can't promise I will be fast, we have been swamped. 😅
Unfortunately, I didn't manage to - but it looks like the team building Storybook are making Web Component integration a very high priority, so seems like a temporary pain point until we can get stencil working out the box!
They are in talks on how to fix this on Storybook's Github. I will drop the link here so that we have reference.
I've cloned this project and I've been able to make it run as expected, whilst live-reloading when the TypeScript files change. However, when I change the CSS files (or the SASS files, using the Sass plugin for Stencil) - the changes are propagated to the relevant
dist/collection/{component}/{component}.css
files.The
generated by Stencil also updates the CSS. However, there is a style tag just below the one that gets updated that uses a more specific, stale version of the CSS.Is this a known issue with a workaround?