{"action":"created","issue":{"url":"https://api.github.com/repos/remy/nodemon/issues/1386","repository_url":"https://api.github.com/repos/remy/nodemon","labels_url":"https://api.github.com/repos/remy/nodemon/issues/1386/labels{/name}","comments_url":"https://api.github.com/repos/remy/nodemon/issues/1386/comments","events_url":"https://api.github.com/repos/remy/nodemon/issues/1386/events","html_url":"https://github.com/remy/nodemon/issues/1386","id":339964575,"node_id":"MDU6SXNzdWUzMzk5NjQ1NzU=","number":1386,"title":"Nodemon child process not being killed with update to 1.18.0","user":{"login":"nathanchapman","id":4032071,"node_id":"MDQ6VXNlcjQwMzIwNzE=","avatar_url":"https://avatars1.githubusercontent.com/u/4032071?v=4","gravatar_id":"","url":"https://api.github.com/users/nathanchapman","html_url":"https://github.com/nathanchapman","followers_url":"https://api.github.com/users/nathanchapman/followers","following_url":"https://api.github.com/users/nathanchapman/following{/other_user}","gists_url":"https://api.github.com/users/nathanchapman/gists{/gist_id}","starred_url":"https://api.github.com/users/nathanchapman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathanchapman/subscriptions","organizations_url":"https://api.github.com/users/nathanchapman/orgs","repos_url":"https://api.github.com/users/nathanchapman/repos","events_url":"https://api.github.com/users/nathanchapman/events{/privacy}","received_events_url":"https://api.github.com/users/nathanchapman/received_events","type":"User","site_admin":false},"labels":[{"id":2770072,"node_id":"MDU6TGFiZWwyNzcwMDcy","url":"https://api.github.com/repos/remy/nodemon/labels/needs%20more%20info","name":"needs more info","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-07-10T18:49:11Z","updated_at":"2018-07-10T20:43:02Z","closed_at":null,"author_association":"NONE","body":"<!-- \r\n  when raising an issue please include replies to the following questions, \r\n  and if you're reporting a bug, please include details on how to replicate\r\n  and **assume** I have no knowledge of how your systems work - that includes\r\n  gulp, grunt, webpack, etc. Thank you so much <3\r\n-->\r\n\r\n- `nodemon -v`: `1.18.0`\r\n- `node -v`: `v8.11.2`\r\n- Operating system/terminal environment:  `macOS 10.13.5/ZSH`\r\n- Command you ran: `nodemon --exec npx ...`\r\n\r\n\r\n### Expected behaviour\r\nIn the previous version (`1.17.5`), Nodemon would properly kill the child process with `^C`\r\n\r\n### Actual behaviour\r\nAfter updating to `1.18.0`, Nodemon no longer kills the child process and now throws an error:\r\n\r\n```\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! errno 1\r\n```\r\n\r\n### Steps to reproduce\r\n\r\nUpdate to `1.18.0` and run a child process like: `nodemon --exec npx http-server`. Hit control + C. See new error. The http-server will still be running and requires a `killall node` to exit.\r\n\r\n---\r\n\r\nIf applicable, please append the `--dump` flag on your command and include the output here **ensuring to remove any sensitive/personal details or tokens**.\r\n"},"comment":{"url":"https://api.github.com/repos/remy/nodemon/issues/comments/403959183","html_url":"https://github.com/remy/nodemon/issues/1386#issuecomment-403959183","issue_url":"https://api.github.com/repos/remy/nodemon/issues/1386","id":403959183,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzk1OTE4Mw==","user":{"login":"remy","id":13700,"node_id":"MDQ6VXNlcjEzNzAw","avatar_url":"https://avatars0.githubusercontent.com/u/13700?v=4","gravatar_id":"","url":"https://api.github.com/users/remy","html_url":"https://github.com/remy","followers_url":"https://api.github.com/users/remy/followers","following_url":"https://api.github.com/users/remy/following{/other_user}","gists_url":"https://api.github.com/users/remy/gists{/gist_id}","starred_url":"https://api.github.com/users/remy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remy/subscriptions","organizations_url":"https://api.github.com/users/remy/orgs","repos_url":"https://api.github.com/users/remy/repos","events_url":"https://api.github.com/users/remy/events{/privacy}","received_events_url":"https://api.github.com/users/remy/received_events","type":"User","site_admin":false},"created_at":"2018-07-10T20:43:02Z","updated_at":"2018-07-10T20:43:02Z","author_association":"OWNER","body":"Related commit: https://github.com/remy/nodemon/commit/a974892"}}
{"actor":{"display_login":"remy"}}