watchfiles

1.1.1 · active · verified Sat Mar 28

A simple, modern, and high-performance file watching and code reloading library for Python, currently at version 1.1.1, with a release cadence of approximately every 3-4 months.

Warnings

Install

Imports

Quickstart

A simple script to monitor changes in a directory using the 'watch' function from watchfiles.

from watchfiles import watch

for changes in watch('./path/to/dir'):
    print(changes)

view raw JSON →