excaliburjs / Excalibur

🎮 Your friendly TypeScript 2D game engine for the web 🗡️
https://excaliburjs.com
BSD 2-Clause "Simplified" License
1.82k stars 189 forks source link

Support HMR #2017

Open kamranayub opened 3 years ago

kamranayub commented 3 years ago

Discussed in https://github.com/excaliburjs/Excalibur/discussions/1817

Originally posted by **DrSensor** March 15, 2021 Any tips on how to do hot reloading using [ESM HMR API](https://github.com/snowpackjs/esm-hmr)? Or is it already supported out of the box? (I'm using vite)

Investigate effort to support HMR, or at least some sort of MVP that will not make the dev experience entirely manual (like manually stopping/starting, etc.)

github-actions[bot] commented 2 years ago

This issue hasn't had any recent activity lately and is being marked as stale automatically.

ufukbakan commented 1 year ago

Here how i've solved this:

eonarheim commented 1 year ago

@ufukbakan Nice! Thanks for the info, I'll update the documentation to include this

github-actions[bot] commented 4 weeks ago

This issue hasn't had any recent activity lately and is being marked as stale automatically.