Merge pull request #82986 from OmarShehata/fix-external-editor-hot-reload
Fix external editor hot reload for GDScript
This commit is contained in:
commit
25fa5eadd5
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