samuelcolvin/watchfiles
Simple, modern and fast file watching and code reload for Python, written in Rust observed · 2026-08-28
Health v2 · maintenance only
88/100
- Activity 96
- Release rhythm 72
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 49.0
- age_days: 3246
- days_rel: 107
- days_push: 24
- n_releases_24m: 9
Adoption not part of the score
2529 stars · 141 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
watchfiles is a Python library providing simple, high-performance file watching and code reload, built on the Rust Notify library. It offers sync and async watch APIs, process restart utilities, and a CLI for running commands on file changes.
Use cases
- watch a directory for file changes in python
- auto-reload python code when files change
- run a command whenever files in a folder change
- async file watching with asyncio
- restart a dev server on file save
- monitor filesystem changes cross-platform
When to choose
- you need fast, reliable file system notifications in Python
- you want automatic code reload during development
- you need both sync and asyncio watching APIs
- you want a batteries-included CLI for watch-and-run workflows
When to avoid
- you need file watching in a non-Python language
- you only need a one-time directory diff rather than live watching
- you cannot install binary wheels and lack a Rust toolchain
Facets
library · maturity stable
developer-tools cli concurrency developer-tools python windows cross-platform cli file-watching code-reload hot-reload rust asyncio inotify filesystem-notifications command-line automation linux macos
4 sources
- readme: https://github.com/samuelcolvin/watchfiles · fetched 2026-08-28 · 07cba5bd7e29
- homepage: https://watchfiles.helpmanual.io · fetched 2026-08-29 · f1f5379966eb
- site_page: https://watchfiles.helpmanual.io/api/watch · fetched 2026-08-29 · 8b0ebb7c8a1f
- site_page: https://watchfiles.helpmanual.io/api/run_process · fetched 2026-08-29 · 30f8a3582fcc
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| samuelcolvin/watchfiles | main | 88 |
For agents
markdown · JSON · MCP: product_card(name="samuelcolvin/watchfiles")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem