{"action":"created","issue":{"url":"https://api.github.com/repos/bhauman/lein-figwheel/issues/296","labels_url":"https://api.github.com/repos/bhauman/lein-figwheel/issues/296/labels{/name}","comments_url":"https://api.github.com/repos/bhauman/lein-figwheel/issues/296/comments","events_url":"https://api.github.com/repos/bhauman/lein-figwheel/issues/296/events","html_url":"https://github.com/bhauman/lein-figwheel/issues/296","id":118326649,"number":296,"title":"Figwheel server accidentally kills whole JVM process","user":{"login":"rkworks","id":857162,"avatar_url":"https://avatars.githubusercontent.com/u/857162?v=3","gravatar_id":"","url":"https://api.github.com/users/rkworks","html_url":"https://github.com/rkworks","followers_url":"https://api.github.com/users/rkworks/followers","following_url":"https://api.github.com/users/rkworks/following{/other_user}","gists_url":"https://api.github.com/users/rkworks/gists{/gist_id}","starred_url":"https://api.github.com/users/rkworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkworks/subscriptions","organizations_url":"https://api.github.com/users/rkworks/orgs","repos_url":"https://api.github.com/users/rkworks/repos","events_url":"https://api.github.com/users/rkworks/events{/privacy}","received_events_url":"https://api.github.com/users/rkworks/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-23T06:31:21Z","updated_at":"2015-11-23T15:42:59Z","closed_at":null,"body":"Hi\r\n\r\nI'm using figwheel component by embedding it into my system.\r\nMy problem is that figwheel kills the whole process via System/exit when I accidentally launch multiple figwheel instances with same port.\r\nhttps://github.com/bhauman/lein-figwheel/blob/29037d64dac7a8815530411f29160eee8bfcd9c8/sidecar/src/figwheel_sidecar/components/figwheel_server.clj#L124\r\n\r\nThis behaviour may not be problematic when figwheel is used as a leiningen plugin. However, it might be better to delegate exception handling to figwheel users when it is used as a library."},"comment":{"url":"https://api.github.com/repos/bhauman/lein-figwheel/issues/comments/158972938","html_url":"https://github.com/bhauman/lein-figwheel/issues/296#issuecomment-158972938","issue_url":"https://api.github.com/repos/bhauman/lein-figwheel/issues/296","id":158972938,"user":{"login":"bhauman","id":2624,"avatar_url":"https://avatars.githubusercontent.com/u/2624?v=3","gravatar_id":"","url":"https://api.github.com/users/bhauman","html_url":"https://github.com/bhauman","followers_url":"https://api.github.com/users/bhauman/followers","following_url":"https://api.github.com/users/bhauman/following{/other_user}","gists_url":"https://api.github.com/users/bhauman/gists{/gist_id}","starred_url":"https://api.github.com/users/bhauman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhauman/subscriptions","organizations_url":"https://api.github.com/users/bhauman/orgs","repos_url":"https://api.github.com/users/bhauman/repos","events_url":"https://api.github.com/users/bhauman/events{/privacy}","received_events_url":"https://api.github.com/users/bhauman/received_events","type":"User","site_admin":false},"created_at":"2015-11-23T15:42:59Z","updated_at":"2015-11-23T15:42:59Z","body":"Yeah this line needs to go.\r\n\r\nBut please don't tell me you are creating 2 Figwheel systems in the same Clojure process?  "}}