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

Add rerun for --watch mode #160

Merged
merged 1 commit into from
Nov 8, 2020
Merged

Conversation

dnephin
Copy link
Member

@dnephin dnephin commented Nov 1, 2020

When watching for file changes, pressing the r key will re-run tests for the last
package that was run.

Also, mostly incidentally because of the terminal mode, removes echo'ing of characters
pressed while in watch mode. The newline character is handled as a special case
and printed to stdout so that it is still possible to clear part of the screen while
in watch mode.

Only works on unix (not windows), and has only been tested on linux.

@dnephin dnephin added the enhancement New feature or request label Nov 1, 2020
When watching for file changes, pressing the 'r' key will re-run tests for the last
package that was run.

Also, mostly incidentally because of the terminal mode, removes echo'ing of characters
pressed while in watch mode. The newline character is handled as a special case
and printed to stdout so that it is still possible to clear part of the screen while
in watch mode.

Only works on unix, and has only been tested on linux.
@dnephin dnephin merged commit a0ef4c9 into gotestyourself:main Nov 8, 2020
@dnephin dnephin deleted the watch-retest branch November 8, 2020 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant