mattjennings / mdsvexamples

Render your Svelte code blocks in MDSveX
35 stars 3 forks source link

Example styles do not reload after changes during development #13

Closed mattjennings closed 1 year ago

mattjennings commented 2 years ago

CSS changes in example style tags do not apply during development until the server is manually restarted. The displayed code updates, but the example doesn't get the new CSS applied.

janosh commented 1 year ago

Also encountering this. How difficult of a fix is this?

mattjennings commented 1 year ago

From what I remember I had a difficult time tracking this one down, and I didn’t want to spend much more time on it for the inconvenience that it was.

Happy to take a PR on this!

mattjennings commented 1 year ago

Fixed in 0.4.1

janosh commented 1 year ago

@mattjennings Thanks so much! 🙏 Just tried it out and it's working! That makes things much easier. 🚀