- Fix watchdog 5.x compatibility issue
- Fix bug with consuming abbreviated command line arguments
- Fix termios, tty import issue on Windows
- Implement interactive mode with keyboard shortcuts for common operations
- Add
--clear
flag to clear the terminal screen before each test run
- Fix
tomllib
import bug
- Configuring
pytest-watcher
viapyproject.toml
file
- Add
--version
cli command
- Fix main loop delay
- Print information about current version, runner command and watched path on startup
- Log all triggered events
- Fix typo in
delay
argument help message
- Allow specifying custom file patterns and ignoring specific patterns via corresponding flags (
--patterns
,--ignore-patterns
). Special thanks to @@aptakhin for the contribution
- Reduce default invocation delay form 0.5 to 0.2
- New
--runner
flag for specifying alternative runner command (e.g.tox
,make
, etc.)
- Drop support for Python 3.6
- New
--now
flag for triggeringpytest
instantly - Support for Python 3.11
- Support for file move events from not watched path to a watched one (e.g. renaming
test.txt
totest.py
)
- Fix python classifiers on Pypi
- Support for Python 3.10
- Added short command version
ptw
alongsidepytest-watcher
- Migrate from
inotify
towatchdog
for events monitoring