-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Check auto refresh setting during pytest discovery #24117
Comments
Closing? Seems like my request was already possible, I just didn't know about the setting. |
I looked for a command to enable/disable it. I should have looked in the settings too. |
Reopening. It doesn't seem to work. I still get a refresh. Do I need to reload VS code for this to work? |
@rchiodo Yes. The events are added on load I think. @eleanorjboyd This could be something that we can make more configurable. i.e, we can ignore the events when setting is disabled? |
@karthiknadig are you saying that the setting should be more responsive and not require and reload on vscode to work? |
In the handler for files modified, we can check if this setting is disabled. |
I'm working on some code that uses Cython for optimizations. Every time I regen the Cython output, I get an error that it can't create the pyd files. This is because every time I change the python code, the test discovery runs.
It would be nice if there was a way to make test discovery have a manual refresh instead of auto refresh.
The text was updated successfully, but these errors were encountered: