You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Auto-reload scripts with external editor
This commit is contained in:
@@ -786,7 +786,10 @@ void ScriptEditor::_res_saved_callback(const Ref<Resource> &p_res) {
|
||||
}
|
||||
|
||||
_update_script_names();
|
||||
_trigger_live_script_reload();
|
||||
}
|
||||
|
||||
void ScriptEditor::_trigger_live_script_reload() {
|
||||
if (!pending_auto_reload && auto_reload_running_scripts) {
|
||||
call_deferred("_live_auto_reload_running_scripts");
|
||||
pending_auto_reload = true;
|
||||
|
||||
Reference in New Issue
Block a user