fubark / cyber

Fast and concurrent scripting.
https://cyberscript.dev
MIT License
1.14k stars 38 forks source link

Hot Reloading? #88

Open AregevDev opened 3 months ago

AregevDev commented 3 months ago

Is there a plan to implement hot reloading scripts / modules? Is it currently possible?

fubark commented 3 months ago

Yes, it's planned. You'll be able to reload namespace variables/functions during a -dev run from the cli. Reloading modules/types is unlikely due to static typing but we should be able to add caching at multiple levels so it would still be much faster to recompile.