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

reloads each time I open file in VScode #967

Closed
tasiotas opened this issue Mar 14, 2023 · 3 comments
Closed

reloads each time I open file in VScode #967

tasiotas opened this issue Mar 14, 2023 · 3 comments

Comments

@tasiotas
Copy link

Hi,

  • Django 4.0.8
  • Werkzeug==2.2.3
  • watchdog==2.3.1
  • WSL

Every time I open python file in VScode, Django reloads. Says change detected in bunch of files, but in reality I just opened one of them.

django  |  * Detected change in '/app/config/schema.py', reloading
django  |  * Detected change in '/app/config/urls.py', reloading
django  |  * Restarting with watchdog (inotify)

Works fine in 2.1.9
I saw similar issue, seemed like same as mine, but I still have it in 2.3.1

Thanks

@ziddey
Copy link

ziddey commented Apr 6, 2023

pallets/werkzeug#2603

Constrain watchdog<2.3 until werkzeug 2.3 releases

@n1ngu
Copy link

n1ngu commented May 2, 2023

Werkzeug 2.3 was just released last week

https://werkzeug.palletsprojects.com/en/2.3.x/changes/#version-2-3-0

Please try upgrading and maybe close this issue if everything works fine

@tasiotas
Copy link
Author

tasiotas commented May 2, 2023

yep, all good , thank you!

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

3 participants