mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Hot-reload only changed scripts
This commit is contained in:
parent
13a0d6e9b2
commit
cde478bda6
17 changed files with 113 additions and 38 deletions
|
@ -822,7 +822,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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue