openfl / lime-vscode-extension

Visual Studio Code extension for OpenFL and Lime projects written in Haxe
https://marketplace.visualstudio.com/items?itemName=openfl.lime-vscode-extension
MIT License
27 stars 4 forks source link

is there a built-in compilation server I can use? #26

Closed increpare closed 6 years ago

increpare commented 6 years ago

Not sure if this is a bug as such, but could't find your contact info - apologies if there is a better place to ask this -_-

1: This extension is great. Thank you.

2: "lime test" is the recommended way to build apps right now right, but I found that by manually running a compilation server with haxe --wait -v 6000 and then adding <haxeflag name="--connect" value="6000"/> to my project.xml file things got sped up a lot. Now, because your plugin is presumably running an auto-complete server already, is there some way to get it to build using this without manually having to run my own server?

Gama11 commented 6 years ago

It's vshaxe that's running the server: https://github.com/vshaxe/vshaxe/wiki/Configuration#display-port

jgranick commented 6 years ago

When there is not a hard-coded value, does VSHaxe still create a compilation server in the background, using an automatically assigned port number?

If there was a way to expose this in the VSHaxe extension interface, we could automatically pass this in when performing OpenFL build commands.

Might also need a "restart server" option, though, if that breaks

increpare commented 6 years ago

Ah, your're right, thanks. Here's the corresponding issue on the vshaxe github page, for reference

https://github.com/vshaxe/vshaxe/issues/79

(guess there's no reason to keep this open? feel free to close...)

2018-03-04 11:47 GMT+01:00 Jens Fischer notifications@github.com:

It's vshaxe that's running the server: https://github.com/vshaxe/ vshaxe/wiki/Configuration#display-port

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/openfl/lime-vscode-extension/issues/26#issuecomment-370219169, or mute the thread https://github.com/notifications/unsubscribe-auth/AAca4Mcwxvz5doq5Vs9OhWttzSlsP_e8ks5ta8YogaJpZM4SbQ9U .

Gama11 commented 6 years ago

does VSHaxe still create a compilation server in the background

Yes.

using an automatically assigned port number?

No, see https://github.com/vshaxe/vshaxe/issues/191.