{"action":"created","issue":{"url":"https://api.github.com/repos/kazu-yamamoto/ghc-mod/issues/491","labels_url":"https://api.github.com/repos/kazu-yamamoto/ghc-mod/issues/491/labels{/name}","comments_url":"https://api.github.com/repos/kazu-yamamoto/ghc-mod/issues/491/comments","events_url":"https://api.github.com/repos/kazu-yamamoto/ghc-mod/issues/491/events","html_url":"https://github.com/kazu-yamamoto/ghc-mod/issues/491","id":85184666,"number":491,"title":"ghc process already running","user":{"login":"k-bx","id":107968,"avatar_url":"https://avatars.githubusercontent.com/u/107968?v=3","gravatar_id":"","url":"https://api.github.com/users/k-bx","html_url":"https://github.com/k-bx","followers_url":"https://api.github.com/users/k-bx/followers","following_url":"https://api.github.com/users/k-bx/following{/other_user}","gists_url":"https://api.github.com/users/k-bx/gists{/gist_id}","starred_url":"https://api.github.com/users/k-bx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k-bx/subscriptions","organizations_url":"https://api.github.com/users/k-bx/orgs","repos_url":"https://api.github.com/users/k-bx/repos","events_url":"https://api.github.com/users/k-bx/events{/privacy}","received_events_url":"https://api.github.com/users/k-bx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/kazu-yamamoto/ghc-mod/milestones/2","html_url":"https://github.com/kazu-yamamoto/ghc-mod/milestones/Next%20release","labels_url":"https://api.github.com/repos/kazu-yamamoto/ghc-mod/milestones/2/labels","id":1155370,"number":2,"title":"Next release","description":"","creator":{"login":"DanielG","id":199218,"avatar_url":"https://avatars.githubusercontent.com/u/199218?v=3","gravatar_id":"","url":"https://api.github.com/users/DanielG","html_url":"https://github.com/DanielG","followers_url":"https://api.github.com/users/DanielG/followers","following_url":"https://api.github.com/users/DanielG/following{/other_user}","gists_url":"https://api.github.com/users/DanielG/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielG/subscriptions","organizations_url":"https://api.github.com/users/DanielG/orgs","repos_url":"https://api.github.com/users/DanielG/repos","events_url":"https://api.github.com/users/DanielG/events{/privacy}","received_events_url":"https://api.github.com/users/DanielG/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":0,"state":"open","created_at":"2015-06-08T17:26:00Z","updated_at":"2015-06-08T17:32:11Z","due_on":null,"closed_at":null},"comments":26,"created_at":"2015-06-04T16:57:10Z","updated_at":"2015-07-05T08:57:59Z","closed_at":null,"body":"I recently updated to latest ghc-mod, and started seeing \"ghc process already running\" from time to time. As I understand, elisp code now sets a global variable which tracks if ghc-modi process was launched or not (please correct me if I'm wrong).\r\n\r\nSo, now, after working on my company's project, I opened third-party library's source code in same emacs, and instead of seeing usual error-highlighting I saw this \"ghc process already running\" message, and ghc-mod doesn't seem to highlight errors anymore.\r\n\r\nSecond use-case which seems broken is that I like to sometimes run \"killall -9 ghc-modi\" in order to free up some memory, but now this would basically require emacs-restart (or setting this ghc-running-variable to nil manually).\r\n\r\nHope this description makes some sense. If not – sorry :)"},"comment":{"url":"https://api.github.com/repos/kazu-yamamoto/ghc-mod/issues/comments/118596816","html_url":"https://github.com/kazu-yamamoto/ghc-mod/issues/491#issuecomment-118596816","issue_url":"https://api.github.com/repos/kazu-yamamoto/ghc-mod/issues/491","id":118596816,"user":{"login":"vlatkoB","id":2315313,"avatar_url":"https://avatars.githubusercontent.com/u/2315313?v=3","gravatar_id":"","url":"https://api.github.com/users/vlatkoB","html_url":"https://github.com/vlatkoB","followers_url":"https://api.github.com/users/vlatkoB/followers","following_url":"https://api.github.com/users/vlatkoB/following{/other_user}","gists_url":"https://api.github.com/users/vlatkoB/gists{/gist_id}","starred_url":"https://api.github.com/users/vlatkoB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vlatkoB/subscriptions","organizations_url":"https://api.github.com/users/vlatkoB/orgs","repos_url":"https://api.github.com/users/vlatkoB/repos","events_url":"https://api.github.com/users/vlatkoB/events{/privacy}","received_events_url":"https://api.github.com/users/vlatkoB/received_events","type":"User","site_admin":false},"created_at":"2015-07-05T08:57:59Z","updated_at":"2015-07-05T08:57:59Z","body":"@acowley I used just your `ghc-check.el` over `melpa` ghc, and all errors and warnings are gone, either when I manually open `Application.hs` or when it's auto-loaded during emacs launch."}}