Just wondering if anyone out there has any success with hot module replacement for Phaser 3 using Vite or Snowpack? I was using it on a web dev project recently and now it’s really hard to go back to the save → recompile loop with my Phaser games.
If so, any pitfalls I should know about before I try (integrating Spine, for example)?
I know it’s been a while but I think HMR with Phaser is possibly an evergreen topic. I’ve recently had success with Parcel 2, but the same approach should work with any build tool with a Webpack-ish HMR API. I’ve documented my approach.