Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(watch): shut down persistent tasks when we exit watch mode #9405

Merged
merged 1 commit into from
Nov 7, 2024

Conversation

NicholasLYang
Copy link
Contributor

Description

This was causing a nasty non-deterministic bug where sending a SIGINT would cause the turbo process to hang and not exit cleanly...sometimes.

Testing Instructions

Try running turbo watch dev --skip-infer on create-turbo and cancelling it with Ctrl-C

Copy link

vercel bot commented Nov 7, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
examples-nonmonorepo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 7, 2024 6:15pm
8 Skipped Deployments
Name Status Preview Comments Updated (UTC)
examples-basic-web ⬜️ Ignored (Inspect) Nov 7, 2024 6:15pm
examples-designsystem-docs ⬜️ Ignored (Inspect) Nov 7, 2024 6:15pm
examples-gatsby-web ⬜️ Ignored (Inspect) Nov 7, 2024 6:15pm
examples-kitchensink-blog ⬜️ Ignored (Inspect) Nov 7, 2024 6:15pm
examples-native-web ⬜️ Ignored (Inspect) Nov 7, 2024 6:15pm
examples-svelte-web ⬜️ Ignored (Inspect) Nov 7, 2024 6:15pm
examples-tailwind-web ⬜️ Ignored (Inspect) Nov 7, 2024 6:15pm
examples-vite-web ⬜️ Ignored (Inspect) Nov 7, 2024 6:15pm

@NicholasLYang NicholasLYang merged commit b65ff15 into main Nov 7, 2024
40 checks passed
@NicholasLYang NicholasLYang deleted the fix/shutdown-persistent-watch branch November 7, 2024 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants