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): exit command if persistent task exits #8858

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

chris-olszewski
Copy link
Member

Description

Now exit if persistent tasks exit. Previously we would not check if persistent tasks exited leading to situations where the TUI would shut down, but we still had watch running.

Testing Instructions

Before:

Screen.Recording.2024-07-26.at.4.19.05.PM.mov

Notice that the TUI exits, but turbo does not.

After:

Screen.Recording.2024-07-26.at.4.15.48.PM.mov

Copy link

vercel bot commented Jul 26, 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 Jul 26, 2024 9:23pm
rust-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 26, 2024 9:23pm
8 Skipped Deployments
Name Status Preview Comments Updated (UTC)
examples-basic-web ⬜️ Ignored (Inspect) Jul 26, 2024 9:23pm
examples-designsystem-docs ⬜️ Ignored (Inspect) Jul 26, 2024 9:23pm
examples-gatsby-web ⬜️ Ignored (Inspect) Jul 26, 2024 9:23pm
examples-kitchensink-blog ⬜️ Ignored (Inspect) Jul 26, 2024 9:23pm
examples-native-web ⬜️ Ignored (Inspect) Jul 26, 2024 9:23pm
examples-svelte-web ⬜️ Ignored (Inspect) Jul 26, 2024 9:23pm
examples-tailwind-web ⬜️ Ignored (Inspect) Jul 26, 2024 9:23pm
examples-vite-web ⬜️ Ignored (Inspect) Jul 26, 2024 9:23pm

@chris-olszewski chris-olszewski marked this pull request as ready for review July 26, 2024 21:23
@chris-olszewski chris-olszewski requested a review from a team as a code owner July 26, 2024 21:23
@chris-olszewski chris-olszewski requested review from tknickman and dimitropoulos and removed request for a team July 26, 2024 21:23
Copy link
Contributor

github-actions bot commented Jul 26, 2024

🟢 CI successful 🟢

Thanks

Copy link
Contributor

🟢 Turbopack Benchmark CI successful 🟢

Thanks

@NicholasLYang
Copy link
Contributor

Only note I have is that we could probably create an integration test for this

Base automatically changed from olszewski/fix_watch_graceful_restart to main August 1, 2024 16:38
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