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

Investigate and fix file watcher issues #790

Closed
tpatel opened this issue Mar 5, 2024 · 1 comment · Fixed by #842
Closed

Investigate and fix file watcher issues #790

tpatel opened this issue Mar 5, 2024 · 1 comment · Fixed by #842
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@tpatel
Copy link
Collaborator

tpatel commented Mar 5, 2024

Related issues:

@tpatel tpatel added bug Something isn't working help wanted Extra attention is needed labels Mar 5, 2024
@tpatel tpatel assigned tpatel and unassigned tpatel Mar 5, 2024
@ddnovikov
Copy link

@tpatel I think I have a hint on this one -- bytecode is at least a part of the issue. Reloading doesn't work with __pycache__ files being present. This is fixed by:

  • Removing all bytecode folders in the project: find . -type d -name "__pycache__" -exec rm -r {} +.
  • Setting PYTHONDONTWRITEBYTECODE=1 environment variable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
Development

Successfully merging a pull request may close this issue.

2 participants