- Issue created by @ambient.impact
- πΊπΈUnited States mortona2k Seattle
I am interested in this feature to support theme development.
When using a front end build tool like vite, CSS changes are reloaded on the page instantly.
Changing template code (or SDC) requires a full page reload to see changes. When coding with tailwind classes, this can be a pain.
I am thinking refreshless will have the architecture to trigger a reload by the build tool.
The mechanism for this issue would need to be in place with a way to call it. The build tool can have a plugin that loads in the browser and triggers the refresh when code is changed.
It seems like most people are working around this DX issue by theming entirely in another system like Storybook. But there is still a lot of integration work to do in Drupal, so it would be great if the DX was nice there too.
- π¨π¦Canada ambient.impact Toronto
If someone is willing to implement it in a robust and reliable way, I'd be happy to review and merge it. I can see the value of it, but my time and energy are limited right now so it's not a priority for me.