{"action":"created","issue":{"url":"https://api.github.com/repos/temmihoo/plushie-badname/issues/17","repository_url":"https://api.github.com/repos/temmihoo/plushie-badname","labels_url":"https://api.github.com/repos/temmihoo/plushie-badname/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/temmihoo/plushie-badname/issues/17/comments","events_url":"https://api.github.com/repos/temmihoo/plushie-badname/issues/17/events","html_url":"https://github.com/temmihoo/plushie-badname/pull/17","id":130757185,"number":17,"title":"Saving PID of running node process into .txt file","user":{"login":"sayantanhore","id":3450239,"avatar_url":"https://avatars.githubusercontent.com/u/3450239?v=3","gravatar_id":"","url":"https://api.github.com/users/sayantanhore","html_url":"https://github.com/sayantanhore","followers_url":"https://api.github.com/users/sayantanhore/followers","following_url":"https://api.github.com/users/sayantanhore/following{/other_user}","gists_url":"https://api.github.com/users/sayantanhore/gists{/gist_id}","starred_url":"https://api.github.com/users/sayantanhore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sayantanhore/subscriptions","organizations_url":"https://api.github.com/users/sayantanhore/orgs","repos_url":"https://api.github.com/users/sayantanhore/repos","events_url":"https://api.github.com/users/sayantanhore/events{/privacy}","received_events_url":"https://api.github.com/users/sayantanhore/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-02T17:39:38Z","updated_at":"2016-02-05T13:52:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/temmihoo/plushie-badname/pulls/17","html_url":"https://github.com/temmihoo/plushie-badname/pull/17","diff_url":"https://github.com/temmihoo/plushie-badname/pull/17.diff","patch_url":"https://github.com/temmihoo/plushie-badname/pull/17.patch"},"body":"This pull request holds necessary code for saving node process ID of the running process into a text file."},"comment":{"url":"https://api.github.com/repos/temmihoo/plushie-badname/issues/comments/180368058","html_url":"https://github.com/temmihoo/plushie-badname/pull/17#issuecomment-180368058","issue_url":"https://api.github.com/repos/temmihoo/plushie-badname/issues/17","id":180368058,"user":{"login":"sayantanhore","id":3450239,"avatar_url":"https://avatars.githubusercontent.com/u/3450239?v=3","gravatar_id":"","url":"https://api.github.com/users/sayantanhore","html_url":"https://github.com/sayantanhore","followers_url":"https://api.github.com/users/sayantanhore/followers","following_url":"https://api.github.com/users/sayantanhore/following{/other_user}","gists_url":"https://api.github.com/users/sayantanhore/gists{/gist_id}","starred_url":"https://api.github.com/users/sayantanhore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sayantanhore/subscriptions","organizations_url":"https://api.github.com/users/sayantanhore/orgs","repos_url":"https://api.github.com/users/sayantanhore/repos","events_url":"https://api.github.com/users/sayantanhore/events{/privacy}","received_events_url":"https://api.github.com/users/sayantanhore/received_events","type":"User","site_admin":false},"created_at":"2016-02-05T13:52:59Z","updated_at":"2016-02-05T13:52:59Z","body":"`npm start` works with placing the PID of the node process into temp/pid.txt file. `npm stop` picks the saved PID and sends a `SIGINT` to the running process. On receive that the running process exits and deletes the pid.txt file."}}