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

Running with --pdb seems to prevent recognizing changes #98

Open
max-sixty opened this issue Nov 27, 2018 · 2 comments
Open

Running with --pdb seems to prevent recognizing changes #98

max-sixty opened this issue Nov 27, 2018 · 2 comments

Comments

@max-sixty
Copy link

max-sixty commented Nov 27, 2018

I'm having some issues triggering a restart on changes while a test is running.

I've isolated the factor to using ptw -- --pdb

Do others see consistent behavior? I'm on the latest release. I realize that's not a lot of information - let me know what else would be helpful.

(NB: I'd argue that passing --pdb as a pytest arg ideally wouldn't affect ptw at all ref #89)

@max-sixty
Copy link
Author

This may be due to the wait argument implicit in pdb?

@max-sixty
Copy link
Author

Would you take a PR to adjust the --pdb change to only affect ptw's behavior if a ptw argument, rather than a pytest argument? With the associated documentation

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