mirror of
https://github.com/godotengine/godot.git
synced 2025-10-26 19:24:18 +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
|
|
@ -114,7 +114,7 @@ void GDScriptTextDocument::didSave(const Variant &p_param) {
|
|||
scr->update_exports();
|
||||
ScriptEditor::get_singleton()->reload_scripts(true);
|
||||
ScriptEditor::get_singleton()->update_docs_from_script(scr);
|
||||
ScriptEditor::get_singleton()->trigger_live_script_reload();
|
||||
ScriptEditor::get_singleton()->trigger_live_script_reload(scr->get_path());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue