oh-my-git
oh-my-git copied to clipboard
Bind to port 1234 is fragile
I have another piece of software that binds to port 1234.
That breaks the "fake-editor" script. A solution might be to bind to port 0, which gives you a random ephemeral port.
You could then expose that port number through an environment variable.
I looked at doing this. It seems hard, as the get_local_port() method on TCP_Server wasn't backported from Godot 4.0 to 3.x branches...
These binds can be fixed if and when godotengine/godot#68129 is included in godot.