crystal.hot_reload
This module restarts the game every time assets or source files are saved. This allows you to iterate on code or assets without having to constantly close the game window and launch it again.
Hot reload is not available in fused builds.
Functions
| Name | Description |
|---|---|
| crystal.hot_reload.disable | Disables hot reloading. |
| crystal.hot_reload.enable | Enables hot reloading. |
| crystal.hot_reload.persist | Makes a piece of data persist through hot reloads. |