watchfiles icon indicating copy to clipboard operation
watchfiles copied to clipboard

Simple, modern and fast file watching and code reload in python.

Results 40 watchfiles issues
Sort by recently updated
recently updated
newest added

### Description When running the testsuite on a Debian unstable i386 machine, the testsuite hangs during the `test_ignore_permission_denied ` test, in `test_rust_notify.py`. You can see the testsuite log [here](https://ci.debian.net/packages/p/python-watchfiles/testing/i386/43033008/#S3), but...

bug

I want to know if it is possible to run mulltiple watch process in a single script that watches 2 separate directories and runs different callback functions. Something like this:...

Bumps [requests](https://github.com/psf/requests) from 2.31.0 to 2.32.0. Release notes Sourced from requests's releases. v2.32.0 2.32.0 (2024-05-20) 🐍 PYCON US 2024 EDITION 🐍 Security Fixed an issue where setting verify=False on the...

dependencies
python

Helps https://github.com/samuelcolvin/watchfiles/issues/276. Temporarily use `PYO3_USE_ABI3_FORWARD_COMPATIBILITY: 1` until PyO3 supports Python 3.13. Hopefully there will be a PyO3 0.21.3 soon so we can remove it: https://github.com/PyO3/pyo3/issues/4038#issuecomment-2110007551

The [Python 3.13 beta is out](https://discuss.python.org/t/python-3-13-0b1-now-available/52891) and the release manager has a call to action: > We **strongly encourage** maintainers of third-party Python projects to **test with 3.13** during the...

### Description When I'm watching a directory for changes, and a new file gets created in it, subsequent appends to that file generate more `Change.added` events instead of `Change.modified` for...

bug

### Description The target folder is `D:\\work\\monitorTest`, there is a folder named `D:\\work\\monitorTest\\newFolder`, when I delete it, I want to the output to be `{(, 'D:\\work\\monitorTest\\newFolder')}, (, 'D:\\work\\monitorTest\\newFolder\\subFile1.xlsx')},(, 'D:\\work\\monitorTest\\newFolder\\subFile2.xlsx')}`. When...

bug

Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.2.1 to 2.2.2. Release notes Sourced from urllib3's releases. 2.2.2 🚀 urllib3 is fundraising for HTTP/2 support urllib3 is raising ~$40,000 USD to release HTTP/2 support and...

dependencies
python

### Description ## Details This error occurs on `uvicorn` startup in a docker environment (based on python:3.11-slim) when using the uvicorn `--reload` flag. The path is pointing to the python3...

bug

Looking at the [mkdocstring global options](https://mkdocstrings.github.io/usage/#global-options) documentation, I found a little discrepancy with your `mkdocs.yml`: I suspect that using the `options` key in the python handler config may give a...