Skip to content

fix(browser): support quitting watch mode from the terminal#1026

Merged
fi3ework merged 2 commits intomainfrom
fix/browser-watch-quit-shortcut
Mar 9, 2026
Merged

fix(browser): support quitting watch mode from the terminal#1026
fi3ework merged 2 commits intomainfrom
fix/browser-watch-quit-shortcut

Conversation

@fi3ework
Copy link
Copy Markdown
Member

@fi3ework fi3ework commented Mar 9, 2026

Summary

  • add a minimal q shortcut for browser watch mode so users can quit from the terminal
  • show a press q to quit hint after browser watch runs and reuse the watch cleanup path for terminal exits
  • keep broader browser shortcuts deferred with a TODO until the browser path can share the node-mode shortcut model
image

Validation

  • pnpm --filter @rstest/browser typecheck
  • pnpm rstest 'packages/browser/tests/watchCliShortcuts.test.ts'

Add a minimal q shortcut and watch hint in browser watch mode so users can exit without killing the process. Leave broader shortcut support for a future refactor that aligns with the node-mode shortcut model.
@fi3ework fi3ework enabled auto-merge (squash) March 9, 2026 08:18
Match the browser watch tests to the new idle-state output after the minimal q shortcut change. This keeps the e2e suite asserting the watch-ready state without depending on the removed legacy message.
@fi3ework fi3ework merged commit 7fabf18 into main Mar 9, 2026
15 of 17 checks passed
@fi3ework fi3ework deleted the fix/browser-watch-quit-shortcut branch March 9, 2026 09:23
@9aoy 9aoy mentioned this pull request Mar 9, 2026
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.

1 participant