Replies: 9 comments
-
|
This issue is equivalent to pnpm/pnpm#2653 (comment) |
Beta Was this translation helpful? Give feedback.
-
|
Appears like this is a regression |
Beta Was this translation helpful? Give feedback.
-
|
Lately I have been having issues where hitting command + c will appear to stop the process in the terminal, but the app will still be running on the port. Is this the same issue you are referring to @gajus ? |
Beta Was this translation helpful? Give feedback.
-
|
@williamlmao we had a regression in 1.8.4 released yesterday which was fixed in 1.8.5 released earlier today, could you try that? |
Beta Was this translation helpful? Give feedback.
-
|
I was using 1.8.3 when posting this, so probably a distinct issue from what @arlyon is referring to. Mine is about waiting for the script to actually complete before force exiting turbo. In ideal world, the way this would work is that the first time |
Beta Was this translation helpful? Give feedback.
-
|
@gajus How are you invoking turbo? I've been digging into this and have been getting vastly different results depending on if you invoke turbo globally or via a package manager. |
Beta Was this translation helpful? Give feedback.
-
|
Yeah, pnpm has the same flaw I was reporting what the behaviour is if directly invoking turbo though, i.e. |
Beta Was this translation helpful? Give feedback.
-
|
Chiming in here with the same issue in a simple launch script that we need to run with turbo in persistent mode. This is the result of running the script directly in the terminal from the monorepo with barakchamo@barak store % Stopping local Postgres
[+] Stopping 2/2
✔ Container store-pg_proxy-1 Stopped
✔ Container store-postgres-1 Stopped
canceled
[+] Running 3/0
✔ Container store-pg_proxy-1 Removed
✔ Container store-postgres-1 Removed
✔ Network store_default Removed And this is the result of running the script from the monorepo root via turbo There's no issue running the launch script with a package manager, |
Beta Was this translation helpful? Give feedback.
-
|
I'm running Fastify with graceful shutdown plugin. Works great! However, when using Turbo and using ctrl+c to close the dev environment for example. Turbo seems to hard kill the Turbo tasks instead of gracefully shutdown instead. This is still an issue in 2025. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Which project is this feature idea for?
Turborepo
Describe the feature you'd like to request
At the moment, as soon
turboreceives SIGINT it kills the child process.Describe the solution you'd like
I would like to be able to gracefully handle the shutdown.
Describe alternatives you've considered
Not using turbo
Beta Was this translation helpful? Give feedback.
All reactions