Haxe 4.0 introduces a new way of communicating IDE and the compiler.
Here's what an IDE needs to do:
- start a TCP server on some port (can pass
0to bind to any available one)
haxe --server-connect <port>where
<port>is replaced with the port number the started TCP server was bound to.
- haxe will connect to that server and await requests, ensure that happens
- send messages of the following structure: