{"action":"created","issue":{"url":"https://api.github.com/repos/TypeStrong/ts-node/issues/458","repository_url":"https://api.github.com/repos/TypeStrong/ts-node","labels_url":"https://api.github.com/repos/TypeStrong/ts-node/issues/458/labels{/name}","comments_url":"https://api.github.com/repos/TypeStrong/ts-node/issues/458/comments","events_url":"https://api.github.com/repos/TypeStrong/ts-node/issues/458/events","html_url":"https://github.com/TypeStrong/ts-node/pull/458","id":271237196,"number":458,"title":"graceful shutdown","user":{"login":"endel","id":130494,"avatar_url":"https://avatars3.githubusercontent.com/u/130494?v=4","gravatar_id":"","url":"https://api.github.com/users/endel","html_url":"https://github.com/endel","followers_url":"https://api.github.com/users/endel/followers","following_url":"https://api.github.com/users/endel/following{/other_user}","gists_url":"https://api.github.com/users/endel/gists{/gist_id}","starred_url":"https://api.github.com/users/endel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/endel/subscriptions","organizations_url":"https://api.github.com/users/endel/orgs","repos_url":"https://api.github.com/users/endel/repos","events_url":"https://api.github.com/users/endel/events{/privacy}","received_events_url":"https://api.github.com/users/endel/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-11-05T00:18:13Z","updated_at":"2017-12-10T22:55:51Z","closed_at":"2017-12-10T22:55:51Z","author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/TypeStrong/ts-node/pulls/458","html_url":"https://github.com/TypeStrong/ts-node/pull/458","diff_url":"https://github.com/TypeStrong/ts-node/pull/458.diff","patch_url":"https://github.com/TypeStrong/ts-node/pull/458.patch"},"body":"Fixes https://github.com/TypeStrong/ts-node/issues/457\r\n\r\nI noticed when hitting Ctrl-C, this block of code was never called, due to the main process being terminated: https://github.com/TypeStrong/ts-node/blob/1d630f90f31ac7cc7f82b10145819e9405d65fd3/src/bin.ts#L59-L67\r\n\r\nBy creating a trap to `SIGINT`, the main process will be closed only after the child one does."},"comment":{"url":"https://api.github.com/repos/TypeStrong/ts-node/issues/comments/350588615","html_url":"https://github.com/TypeStrong/ts-node/pull/458#issuecomment-350588615","issue_url":"https://api.github.com/repos/TypeStrong/ts-node/issues/458","id":350588615,"user":{"login":"blakeembrey","id":1088987,"avatar_url":"https://avatars0.githubusercontent.com/u/1088987?v=4","gravatar_id":"","url":"https://api.github.com/users/blakeembrey","html_url":"https://github.com/blakeembrey","followers_url":"https://api.github.com/users/blakeembrey/followers","following_url":"https://api.github.com/users/blakeembrey/following{/other_user}","gists_url":"https://api.github.com/users/blakeembrey/gists{/gist_id}","starred_url":"https://api.github.com/users/blakeembrey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blakeembrey/subscriptions","organizations_url":"https://api.github.com/users/blakeembrey/orgs","repos_url":"https://api.github.com/users/blakeembrey/repos","events_url":"https://api.github.com/users/blakeembrey/events{/privacy}","received_events_url":"https://api.github.com/users/blakeembrey/received_events","type":"User","site_admin":false},"created_at":"2017-12-10T22:55:51Z","updated_at":"2017-12-10T22:55:51Z","author_association":"OWNER","body":"Should be closed with https://github.com/TypeStrong/ts-node/pull/419, but please let me know if it doesn't!"}}
{"actor":{"display_login":"blakeembrey"}}