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.
- CLICLI referencearguments, flags, and usage examples.
- CLIInteractive commandsrestart or stop from your terminal.
Configuration
Keep project defaults in JSON and override them on the command line.
- JSONConfiguration referenceevery supported key and its default.
- JSONConfiguration filesfile selection and precedence.
Lifecycle
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