这是indexloc提供的服务,不要输入任何密码
Skip to content

turborepo does not propagate the SIGINT signal event. #444

@vorillaz

Description

@vorillaz

What version of Turborepo are you using?

1.0.23

What package manager are you using / does the bug impact?

npm

What operating system are you using?

Mac

Describe the Bug

On most node.js applications is a common practise adding a cleanup handler in order to close open DB connections
Turborepo does not seem to propagate the exit signals from the CLI towards the applications running.

Expected Behavior

Once upon SIGINT gets triggered I would expect all the open applications to grab the signal in order to do some cleanup.

To Reproduce

The bug is reproducible through the kitchen-sink example, just add a "graceful shutdown" hook in the Express.js application as described in the official documentation

Metadata

Metadata

Assignees

Labels

kind: bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions