I've been following along with the

I've been following along with the commits in the workers-sdk repo for the new experimental-assets. Played around with it a bit in a small repo. It is so close to providing the perfect developer experience for building sites on workers. The main feature I would love to see is support for running wrangler dev and having vite live reload the browser whenever I make changes to my HTML, CSS, JS that runs through the worker. You would get the best of both worlds, (quick update in the browser when you modify your code/you are actually running your app via the worker so its more true to how it will work in production). You can get live-reload partially working with workers + assets, but really what I want, and I'm sure many others want is full integration with wrangler dev and vite to do real hot module reloading. It feels like this is possible with the new Environments API in the latest Vite beta but I havent dug in. Is the team that is working on the new experimental assets thinking about any vite integration that would support HMR/live reload with workers? If not, what's the best way to pass along that use-case, open an issue on the workers-sdk repo?
1 Reply
texan
texan3mo ago
I informally passed this along to some colleagues, but yeah I think your best bet would be to open an issue/request
Want results from more Discord servers?
Add your server