mirror of
https://github.com/godotengine/godot.git
synced 2025-10-24 02:13:36 +00:00
Fix external editor hot reload
This commit is contained in:
parent
fba341ce44
commit
c25a2d832b
4 changed files with 7 additions and 4 deletions
|
|
@ -110,9 +110,11 @@ void GDScriptTextDocument::didSave(const Variant &p_param) {
|
|||
} else {
|
||||
scr->reload(true);
|
||||
}
|
||||
|
||||
scr->update_exports();
|
||||
ScriptEditor::get_singleton()->reload_scripts(true);
|
||||
ScriptEditor::get_singleton()->update_docs_from_script(scr);
|
||||
ScriptEditor::get_singleton()->trigger_live_script_reload();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue