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

Pytest-watch will not exit with Ctrl+C (sometimes) #107

Open
richardARPANET opened this issue Sep 24, 2019 · 1 comment
Open

Pytest-watch will not exit with Ctrl+C (sometimes) #107

richardARPANET opened this issue Sep 24, 2019 · 1 comment

Comments

@richardARPANET
Copy link

Ubuntu 18.04
pytest-watch==4.2.0
pytest==5.1.2

Seemingly randomly at times I cannot exit ptw using Ctrl+C in the terminal. I then need to killall ptw to exit it.

Has anyone else experienced this issue?

@richardARPANET
Copy link
Author

richardARPANET commented Oct 17, 2019

For anyone else seeing this bug, you can just use 'entr' instead of pytest-watch which doesn't suffer from this issue:

sudo apt install entr

find . -name '*.py' | entr pytest tests/test_something.py

edit: actually entr won't work with pdb, so try this.

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

No branches or pull requests

1 participant