godot-kotlin-jvm
godot-kotlin-jvm copied to clipboard
Scan after generating project
Minor fix for the JVM project generation. I realized that after generating the project, the files weren't appearing in the Godot editor. The reason is that Godot only refresh its filesystem automatically when you unfocus the editor and focus it again.
The assumption is that the user left the Godot window to use some external tools that can potentially change files in the project. But for any changes made by Godot itself, you have to manually call the scanner. The reason is so the editor doesn't constantly check the file system for changes but only do it on demand.