pyreload

Pyreload reference

Everything you need to run, configure, and control your watcher. Pyreload is a local command-line tool: no account, API key, or hosted service is required.

Commands

Run a Python script or a shell command whenever your source files change.

Configuration

Keep project defaults in JSON and override them on the command line.

Lifecycle

Pyreload reference workflow diagram
Diagram source
sequenceDiagram
    participant Developer
    participant Watcher as Pyreload
    participant App as Application
    Developer->>Watcher: pyreload app.py
    Watcher->>App: Start
    Developer->>Watcher: Save a matching file
    Watcher->>App: Terminate and wait
    Watcher->>App: Start again
    Developer->>Watcher: stop
    Watcher->>App: Terminate