Comments (1)
(in future, it makes code much easier to read if you format it correctly in issues, I've updated your code myself here.)
The short answer is I don't know. Possible reasons:
- the way you copied the file caused multiple file events - this is quite common with things like IDEs, but watchgod is supposed to avoid this problem
- I've never tested watchgod on windows, so it might be a problem particular to windows.
In short, there's not enough information here for me to really answer, you'll need to dig deeper. If you find a bug let me know.
from watchfiles.
Related Issues (20)
- .pyd ignored pattern is added back by PythonFilter.extensions HOT 1
- Problem installing on raspberry pi HOT 6
- Signal timeout does not propagate HOT 2
- awatch on a file on Linux trigger delete event HOT 4
- Please make a new release using pyo3 0.20.3 HOT 9
- Testsuite hangs on test_ignore_permission_denied on Debian i386 HOT 1
- Ignore error_handler errors under ignore_permission_denied = True? HOT 1
- Appends to an existing file get reported as `Change.added` HOT 1
- Release wheels for Python 3.13 HOT 3
- [Question] Possible to run multiple watch processes at once? HOT 1
- _rust_notify.WatchfilesRustInternalError: error in underlying watcher: IO error for operation on <python path>: No such file or directory (os error 2) HOT 19
- Unreasonable return HOT 1
- Ability to exclude certain directories from being watched HOT 1
- Doc link is broken HOT 3
- force_polling and ignore_permission_denied are not working together HOT 2
- Docs say python version supported is 3.10 still HOT 2
- Build fails without exporting HOT 2
- Feature request: add or remove watched directories while `async for changes in awatch('/path/to/dir')` is iterating
- Segfault when running under free-threaded Python
- Failed to run on Windows 7. Please, remove support for Python v3.8. Because Python v3.8 still supports Windows 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from watchfiles.