Closed ia3andy closed 1 month ago
cc @maxandersen
We could create a specific extension for this with a SPI to allow pushing added
, udpated
and removed
resources to the list (This could be a new independent runtime artifact of the Web Bundler)
With the Web-Bundler we also control the js part so we can add the EventSource automatically in dev mode.
This is done in 1.5.1
See https://esbuild.github.io/api/#hot-reloading-css
We should create a new SSE endpoint containing the list of changes, and inject something similar to the esbuild example, directly in the code in dev mode (with a config to disable it)