{"action":"created","issue":{"url":"https://api.github.com/repos/ensime/ensime-server/issues/1277","repository_url":"https://api.github.com/repos/ensime/ensime-server","labels_url":"https://api.github.com/repos/ensime/ensime-server/issues/1277/labels{/name}","comments_url":"https://api.github.com/repos/ensime/ensime-server/issues/1277/comments","events_url":"https://api.github.com/repos/ensime/ensime-server/issues/1277/events","html_url":"https://github.com/ensime/ensime-server/issues/1277","id":131160058,"number":1277,"title":"use ports in the files, instead of bailing","user":{"login":"fommil","id":1914041,"avatar_url":"https://avatars.githubusercontent.com/u/1914041?v=3","gravatar_id":"","url":"https://api.github.com/users/fommil","html_url":"https://github.com/fommil","followers_url":"https://api.github.com/users/fommil/followers","following_url":"https://api.github.com/users/fommil/following{/other_user}","gists_url":"https://api.github.com/users/fommil/gists{/gist_id}","starred_url":"https://api.github.com/users/fommil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fommil/subscriptions","organizations_url":"https://api.github.com/users/fommil/orgs","repos_url":"https://api.github.com/users/fommil/repos","events_url":"https://api.github.com/users/fommil/events{/privacy}","received_events_url":"https://api.github.com/users/fommil/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ensime/ensime-server/labels/In%20progress","name":"In progress","color":"009800"}],"state":"open","locked":false,"assignee":{"login":"fommil","id":1914041,"avatar_url":"https://avatars.githubusercontent.com/u/1914041?v=3","gravatar_id":"","url":"https://api.github.com/users/fommil","html_url":"https://github.com/fommil","followers_url":"https://api.github.com/users/fommil/followers","following_url":"https://api.github.com/users/fommil/following{/other_user}","gists_url":"https://api.github.com/users/fommil/gists{/gist_id}","starred_url":"https://api.github.com/users/fommil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fommil/subscriptions","organizations_url":"https://api.github.com/users/fommil/orgs","repos_url":"https://api.github.com/users/fommil/repos","events_url":"https://api.github.com/users/fommil/events{/privacy}","received_events_url":"https://api.github.com/users/fommil/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/ensime/ensime-server/milestones/8","html_url":"https://github.com/ensime/ensime-server/milestones/Stable%201.0","labels_url":"https://api.github.com/repos/ensime/ensime-server/milestones/8/labels","id":916638,"number":8,"title":"Stable 1.0","description":"A stable release which will have permanent versions of the sbt-plugin and server for scala 2.9.2, 2.9.3, 2.10 and 2.11 in maven central, and a corresponding stable release in MELPA.\r\n\r\nThis will be the last version to support scala 2.9 and only serious bugfixes will cause new versions to be released.\r\n\r\nWhen released, the rolling release will become more experimental and the protocol is likely to be redesigned.\r\n\r\nTickets should only be added to this milestone if you actively plan to work on them.","creator":{"login":"fommil","id":1914041,"avatar_url":"https://avatars.githubusercontent.com/u/1914041?v=3","gravatar_id":"","url":"https://api.github.com/users/fommil","html_url":"https://github.com/fommil","followers_url":"https://api.github.com/users/fommil/followers","following_url":"https://api.github.com/users/fommil/following{/other_user}","gists_url":"https://api.github.com/users/fommil/gists{/gist_id}","starred_url":"https://api.github.com/users/fommil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fommil/subscriptions","organizations_url":"https://api.github.com/users/fommil/orgs","repos_url":"https://api.github.com/users/fommil/repos","events_url":"https://api.github.com/users/fommil/events{/privacy}","received_events_url":"https://api.github.com/users/fommil/received_events","type":"User","site_admin":false},"open_issues":21,"closed_issues":81,"state":"open","created_at":"2014-12-29T12:44:02Z","updated_at":"2016-02-15T20:09:49Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2016-02-03T21:29:22Z","updated_at":"2016-02-15T21:32:59Z","closed_at":null,"body":"as discussed on gitter with @hedefalk and @rorygraves it would be advantageous if the ensime server could use the same port as in a previous session. For Atom, it sounds like they want to use this as the mechanism for restarting the server when the `.ensime` file changes (maybe emacs could do the same, although there is some old startup initialisation logic in there) but for Windows it is a good workaround to https://github.com/ensime/ensime-emacs/issues/338\r\n\r\nI suppose the server, when it sees a port file (or websockets file) would attempt to use that port... and only if it fails to obtain the exclusive ownership of that port would it fail."},"comment":{"url":"https://api.github.com/repos/ensime/ensime-server/issues/comments/184404110","html_url":"https://github.com/ensime/ensime-server/issues/1277#issuecomment-184404110","issue_url":"https://api.github.com/repos/ensime/ensime-server/issues/1277","id":184404110,"user":{"login":"fommil","id":1914041,"avatar_url":"https://avatars.githubusercontent.com/u/1914041?v=3","gravatar_id":"","url":"https://api.github.com/users/fommil","html_url":"https://github.com/fommil","followers_url":"https://api.github.com/users/fommil/followers","following_url":"https://api.github.com/users/fommil/following{/other_user}","gists_url":"https://api.github.com/users/fommil/gists{/gist_id}","starred_url":"https://api.github.com/users/fommil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fommil/subscriptions","organizations_url":"https://api.github.com/users/fommil/orgs","repos_url":"https://api.github.com/users/fommil/repos","events_url":"https://api.github.com/users/fommil/events{/privacy}","received_events_url":"https://api.github.com/users/fommil/received_events","type":"User","site_admin":false},"created_at":"2016-02-15T21:32:59Z","updated_at":"2016-02-15T21:32:59Z","body":"ok, got a patch. But need to write a test for it."}}