Title: Node-dev does not send SIGTERM on CTRL+C · Issue #291 · fgnass/node-dev · GitHub
Open Graph Title: Node-dev does not send SIGTERM on CTRL+C · Issue #291 · fgnass/node-dev
X Title: Node-dev does not send SIGTERM on CTRL+C · Issue #291 · fgnass/node-dev
Description: My package.json script uses the node-dev CLI to run code with the event listener: process.on('SIGTERM', () => { console.log('SIGTERM fired...'); }); When I use CTRL+C to halt the server, I get no console notifications. This should be han...
Open Graph Description: My package.json script uses the node-dev CLI to run code with the event listener: process.on('SIGTERM', () => { console.log('SIGTERM fired...'); }); When I use CTRL+C to halt the server, I get no c...
X Description: My package.json script uses the node-dev CLI to run code with the event listener: process.on('SIGTERM', () => { console.log('SIGTERM fired...'); }); When I use CTRL+C to halt the...
Opengraph URL: https://github.com/fgnass/node-dev/issues/291
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Node-dev does not send SIGTERM on CTRL+C","articleBody":"My `package.json` script uses the node-dev CLI to run code with the event listener:\r\n\r\n```js\r\nprocess.on('SIGTERM', () =\u003e {\r\n console.log('SIGTERM fired...');\r\n});\r\n```\r\n\r\nWhen I use `CTRL+C` to halt the server, I get no console notifications.\r\n\r\nThis should be handled so we can properly exit node-dev servers with `CTRL+C`. Thank you!","author":{"url":"https://github.com/macjabeth","@type":"Person","name":"macjabeth"},"datePublished":"2022-04-21T14:06:40.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/291/node-dev/issues/291"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:9c02ce25-655d-423d-db24-b7a64eaaaff3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C642:CCF64:466FF8:59FA59:699288B9 |
| html-safe-nonce | abf0295d4955fa6e2439776479e505e4c6245692add756e0154d50936131a3fb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNjQyOkNDRjY0OjQ2NkZGODo1OUZBNTk6Njk5Mjg4QjkiLCJ2aXNpdG9yX2lkIjoiNDA0NDQxMDc4OTg5NzA3ODk2OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 77f498091c8ac7ce30279516dc182110726f771c37bc8535eba538e9c7ea392e |
| hovercard-subject-tag | issue:1211097801 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/fgnass/node-dev/291/issue_layout |
| twitter:image | https://opengraph.githubassets.com/969e69fd2a4011a0884d34d3700a4c356906899f2d6a360df55cadb623c9ae72/fgnass/node-dev/issues/291 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/969e69fd2a4011a0884d34d3700a4c356906899f2d6a360df55cadb623c9ae72/fgnass/node-dev/issues/291 |
| og:image:alt | My package.json script uses the node-dev CLI to run code with the event listener: process.on('SIGTERM', () => { console.log('SIGTERM fired...'); }); When I use CTRL+C to halt the server, I get no c... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | macjabeth |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/fgnass/node-dev git https://github.com/fgnass/node-dev.git |
| octolytics-dimension-user_id | 89450 |
| octolytics-dimension-user_login | fgnass |
| octolytics-dimension-repository_id | 986572 |
| octolytics-dimension-repository_nwo | fgnass/node-dev |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 986572 |
| octolytics-dimension-repository_network_root_nwo | fgnass/node-dev |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width