{"action":"created","issue":{"url":"https://api.github.com/repos/snowkit/atom-haxe/issues/59","repository_url":"https://api.github.com/repos/snowkit/atom-haxe","labels_url":"https://api.github.com/repos/snowkit/atom-haxe/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/snowkit/atom-haxe/issues/59/comments","events_url":"https://api.github.com/repos/snowkit/atom-haxe/issues/59/events","html_url":"https://github.com/snowkit/atom-haxe/issues/59","id":150812718,"number":59,"title":"Tries to start haxe --wait for each atom window","user":{"login":"kevinresol","id":1103788,"avatar_url":"https://avatars.githubusercontent.com/u/1103788?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinresol","html_url":"https://github.com/kevinresol","followers_url":"https://api.github.com/users/kevinresol/followers","following_url":"https://api.github.com/users/kevinresol/following{/other_user}","gists_url":"https://api.github.com/users/kevinresol/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinresol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinresol/subscriptions","organizations_url":"https://api.github.com/users/kevinresol/orgs","repos_url":"https://api.github.com/users/kevinresol/repos","events_url":"https://api.github.com/users/kevinresol/events{/privacy}","received_events_url":"https://api.github.com/users/kevinresol/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-25T10:14:20Z","updated_at":"2016-04-25T10:38:45Z","closed_at":null,"body":"As titled, atom-haxe tries to start `haxe --wait` for each atom window which results in `Error: Couldn't wait on 127.0.0.1:6112` (can be seen when toggled completion debug log), if there is already a haxe server started by another atom window. \r\n\r\nThis is not a big deal, because the completion still works. It is just wasting a little CPU."},"comment":{"url":"https://api.github.com/repos/snowkit/atom-haxe/issues/comments/214259075","html_url":"https://github.com/snowkit/atom-haxe/issues/59#issuecomment-214259075","issue_url":"https://api.github.com/repos/snowkit/atom-haxe/issues/59","id":214259075,"user":{"login":"jeremyfa","id":164094,"avatar_url":"https://avatars.githubusercontent.com/u/164094?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremyfa","html_url":"https://github.com/jeremyfa","followers_url":"https://api.github.com/users/jeremyfa/followers","following_url":"https://api.github.com/users/jeremyfa/following{/other_user}","gists_url":"https://api.github.com/users/jeremyfa/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremyfa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremyfa/subscriptions","organizations_url":"https://api.github.com/users/jeremyfa/orgs","repos_url":"https://api.github.com/users/jeremyfa/repos","events_url":"https://api.github.com/users/jeremyfa/events{/privacy}","received_events_url":"https://api.github.com/users/jeremyfa/received_events","type":"User","site_admin":false},"created_at":"2016-04-25T10:38:45Z","updated_at":"2016-04-25T10:38:45Z","body":"Yes, that's actually a temporary workaround to prevent the server from not being restarted when working with multiple windows and closing the one that has started the server.\r\n\r\nWithout this workaround, you could kill the server without knowing it when closing the window (and wonder why completion does not work anymore).\r\n\r\nThat said we should for sure look for a better way of handling this."}}