mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 08:23:29 +00:00
Auto-reload scripts with external editor
This commit is contained in:
parent
c4e03672e8
commit
1c61245990
3 changed files with 6 additions and 0 deletions
|
@ -666,6 +666,8 @@ void ScriptEditor::_update_modified_scripts_for_external_editor(Ref<Script> p_fo
|
|||
script->set_source_code(rel_script->get_source_code());
|
||||
script->set_last_modified_time(rel_script->get_last_modified_time());
|
||||
script->update_exports();
|
||||
|
||||
_trigger_live_script_reload();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue