miniflare
miniflare copied to clipboard
Does Miniflare support webpack HMR on server-side?
Thank you for this awesome library, I have been migrating a React SSR project from the Node.js server to Miniflare. On client-side, after I turned on the globalAsyncIO
and globalTimers
the webpack HMR worked but on the server-side, the HMR didn't and throws the following error. I use Webpack HMR API for the server-side modules, which can work on the Node.js server. Do you have any suggestions for that? Thanks.

Hey! π Thanks for raising this. Not very familiar with server-side HMR unfortunately but sounds very cool and useful. I'm pretty busy the next few weeks with exams, but will try look into this soon. π
Hey! π I'm going to close this as it's unlikely we'll have time to fix this in Miniflare 2. Our development effort is primarily focused on version 3. We're investigating HMR in Wrangler and Miniflare 3 with Vite, but aren't able to commit to support at the moment.