thesoftwarephilosopher / imlib

Simple TypeScript/JSX SSG
http://code.immaculatalibrary.com/
Other
100 stars 1 forks source link

Dev-Server Live Updates #6

Closed tcardlab closed 1 month ago

tcardlab commented 2 months ago

Would be nice to have some sort of SSE or WS to manage Live Reloading or HMR. Otherwise a template to integrate with existing HMR solutions (vite et al.) might be convenient.

For now I'm just reloading on window focus.

thesoftwarephilosopher commented 2 months ago

Thanks for the idea. I don't think it would work well as a built-in feature, but I do think it's reasonable to make sure the core code accomodates live code reloading. How has integration been with it so far? Any difficulties with it, particularly any that may benefit from a core change?