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 --watch flag for running tests when files change. #153

Merged
merged 2 commits into from
Oct 17, 2020

Conversation

dnephin
Copy link
Member

@dnephin dnephin commented Oct 12, 2020

This just happens to work super well with #147. Sending ctrl-c while tests are running will cancel the run. Sending ctrl-c when no tests are running will exit.

cmd/main.go Outdated Show resolved Hide resolved
internal/filewatcher/watch.go Outdated Show resolved Hide resolved
So that it can be reset when an event is handled
@dnephin dnephin merged commit d52d240 into gotestyourself:master Oct 17, 2020
@dnephin dnephin deleted the add-watch-flag branch October 17, 2020 22:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant