duck.contrib.reloader.ducksight¶
Duck Sight Reloader
Watches for file changes in Duck framework projects and restarts the
webserver in DEBUG mode whenever relevant .py files change.
Module Contents¶
Classes¶
Monitors the project directory for Python file changes and triggers reloads. |
|
Handles filesystem events and triggers debounced full server reloads. |
API¶
- class duck.contrib.reloader.ducksight.DuckSightReloader(watch_dir: str)[source]¶
Monitors the project directory for Python file changes and triggers reloads.
Initialization
- class duck.contrib.reloader.ducksight.Handler(debounce_interval=0.6)[source]¶
Bases:
watchdog.events.FileSystemEventHandlerHandles filesystem events and triggers debounced full server reloads.
Initialization