runtime_reload
Hot-reload changed GDScript files into a running game, preserving state. Refuses to load scripts with compile errors, disabling them to keep the game running.
Instructions
Hot-reload changed scripts into a running game, keeping its state. Refuses when the language server reports errors in them: a script that fails to compile is disabled in the running game. Covers .gd scripts only - edited .tscn files and new or changed assets need a restart.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | Scripts to reload | |
| session_id | No | Session from runtime_run. Required only when several games run. |