Skip to content

Node-dev does not send SIGTERM on CTRL+C #291

Description

@macjabeth

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 handled so we can properly exit node-dev servers with CTRL+C. Thank you!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions