Merge pull request #86676 from rune-scape/sparse-script-reload

GDScript: Hot-reload changed scripts only
This commit is contained in:
Yuri Sizov 2024-01-17 18:52:54 +01:00
commit c027aecc2e
17 changed files with 113 additions and 38 deletions

View file

@ -824,7 +824,7 @@ void ScriptEditor::_update_modified_scripts_for_external_editor(Ref<Script> p_fo
scr->set_last_modified_time(rel_scr->get_last_modified_time());
scr->update_exports();
trigger_live_script_reload();
trigger_live_script_reload(scr->get_path());
}
}
}