{"action":"created","issue":{"url":"https://api.github.com/repos/ensime/ensime-vim/issues/347","repository_url":"https://api.github.com/repos/ensime/ensime-vim","labels_url":"https://api.github.com/repos/ensime/ensime-vim/issues/347/labels{/name}","comments_url":"https://api.github.com/repos/ensime/ensime-vim/issues/347/comments","events_url":"https://api.github.com/repos/ensime/ensime-vim/issues/347/events","html_url":"https://github.com/ensime/ensime-vim/issues/347","id":188137744,"number":347,"title":"Add `:EnRestart` command","user":{"login":"ktonga","id":1324947,"avatar_url":"https://avatars.githubusercontent.com/u/1324947?v=3","gravatar_id":"","url":"https://api.github.com/users/ktonga","html_url":"https://github.com/ktonga","followers_url":"https://api.github.com/users/ktonga/followers","following_url":"https://api.github.com/users/ktonga/following{/other_user}","gists_url":"https://api.github.com/users/ktonga/gists{/gist_id}","starred_url":"https://api.github.com/users/ktonga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ktonga/subscriptions","organizations_url":"https://api.github.com/users/ktonga/orgs","repos_url":"https://api.github.com/users/ktonga/repos","events_url":"https://api.github.com/users/ktonga/events{/privacy}","received_events_url":"https://api.github.com/users/ktonga/received_events","type":"User","site_admin":false},"labels":[{"id":223406725,"url":"https://api.github.com/repos/ensime/ensime-vim/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":396362373,"url":"https://api.github.com/repos/ensime/ensime-vim/labels/In%20progress","name":"In progress","color":"ededed","default":false},{"id":405037593,"url":"https://api.github.com/repos/ensime/ensime-vim/labels/server","name":"server","color":"f9d0c4","default":false}],"state":"open","locked":false,"assignee":{"login":"ktonga","id":1324947,"avatar_url":"https://avatars.githubusercontent.com/u/1324947?v=3","gravatar_id":"","url":"https://api.github.com/users/ktonga","html_url":"https://github.com/ktonga","followers_url":"https://api.github.com/users/ktonga/followers","following_url":"https://api.github.com/users/ktonga/following{/other_user}","gists_url":"https://api.github.com/users/ktonga/gists{/gist_id}","starred_url":"https://api.github.com/users/ktonga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ktonga/subscriptions","organizations_url":"https://api.github.com/users/ktonga/orgs","repos_url":"https://api.github.com/users/ktonga/repos","events_url":"https://api.github.com/users/ktonga/events{/privacy}","received_events_url":"https://api.github.com/users/ktonga/received_events","type":"User","site_admin":false},"assignees":[{"login":"ktonga","id":1324947,"avatar_url":"https://avatars.githubusercontent.com/u/1324947?v=3","gravatar_id":"","url":"https://api.github.com/users/ktonga","html_url":"https://github.com/ktonga","followers_url":"https://api.github.com/users/ktonga/followers","following_url":"https://api.github.com/users/ktonga/following{/other_user}","gists_url":"https://api.github.com/users/ktonga/gists{/gist_id}","starred_url":"https://api.github.com/users/ktonga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ktonga/subscriptions","organizations_url":"https://api.github.com/users/ktonga/orgs","repos_url":"https://api.github.com/users/ktonga/repos","events_url":"https://api.github.com/users/ktonga/events{/privacy}","received_events_url":"https://api.github.com/users/ktonga/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/ensime/ensime-vim/milestones/2","html_url":"https://github.com/ensime/ensime-vim/milestone/2","labels_url":"https://api.github.com/repos/ensime/ensime-vim/milestones/2/labels","id":1942228,"number":2,"title":"Server Lifecycle Control","description":"Sometimes usage suffers because the server has gone sideways, no fault of the Vim client. It's annoying to have to restart your Vim session in these cases. It would be nice to be able to perform some lifecycle operations like restarting the server from a Vim command; the emacs client has some precedent, and we do have `:EnClients` which is the beginnings of an interface for inspection.\r\n\r\nWe probably need some work on *client* lifecycle to go along with this, so that our client class can be told to reconnect or the instance can be thrown away entirely and replaced with a new one, etc.\r\n\r\nThis undated milestone groups tickets related to this functionality for tracking convenience.","creator":{"login":"ches","id":13277,"avatar_url":"https://avatars.githubusercontent.com/u/13277?v=3","gravatar_id":"","url":"https://api.github.com/users/ches","html_url":"https://github.com/ches","followers_url":"https://api.github.com/users/ches/followers","following_url":"https://api.github.com/users/ches/following{/other_user}","gists_url":"https://api.github.com/users/ches/gists{/gist_id}","starred_url":"https://api.github.com/users/ches/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ches/subscriptions","organizations_url":"https://api.github.com/users/ches/orgs","repos_url":"https://api.github.com/users/ches/repos","events_url":"https://api.github.com/users/ches/events{/privacy}","received_events_url":"https://api.github.com/users/ches/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":1,"state":"open","created_at":"2016-08-15T12:07:04Z","updated_at":"2016-11-10T07:56:48Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-11-09T00:03:50Z","updated_at":"2017-01-01T19:57:32Z","closed_at":null,"body":"Implement new command to restart server instances from within the Vim session. It can come in handy when you change Ensime config and you want the new config to be picked up without leaving Vim or when the server gets borked.\r\n\r\nIt should be simple, just loop through all running clients and kill/relaunch the server process."},"comment":{"url":"https://api.github.com/repos/ensime/ensime-vim/issues/comments/269917021","html_url":"https://github.com/ensime/ensime-vim/issues/347#issuecomment-269917021","issue_url":"https://api.github.com/repos/ensime/ensime-vim/issues/347","id":269917021,"user":{"login":"jvican","id":2462974,"avatar_url":"https://avatars.githubusercontent.com/u/2462974?v=3","gravatar_id":"","url":"https://api.github.com/users/jvican","html_url":"https://github.com/jvican","followers_url":"https://api.github.com/users/jvican/followers","following_url":"https://api.github.com/users/jvican/following{/other_user}","gists_url":"https://api.github.com/users/jvican/gists{/gist_id}","starred_url":"https://api.github.com/users/jvican/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvican/subscriptions","organizations_url":"https://api.github.com/users/jvican/orgs","repos_url":"https://api.github.com/users/jvican/repos","events_url":"https://api.github.com/users/jvican/events{/privacy}","received_events_url":"https://api.github.com/users/jvican/received_events","type":"User","site_admin":false},"created_at":"2017-01-01T19:57:32Z","updated_at":"2017-01-01T19:57:32Z","body":"I've left some comments on this in https://github.com/ensime/ensime-vim/pull/350. In short: looking forward to this feature!"}}
{"actor":{"display_login":"jvican"}}