watchfiles
watchfiles copied to clipboard
Signal timeout does not propagate
Description
The values of sigint_timeout
and sigkill_timeout
of function https://github.com/samuelcolvin/watchfiles/blob/9f19a18da5323d0e63a2ee16c47ed6c819f89be5/watchfiles/run.py#L32
don't propagate to line https://github.com/samuelcolvin/watchfiles/blob/9f19a18da5323d0e63a2ee16c47ed6c819f89be5/watchfiles/run.py#L156
Example Code
Watchfiles Output
[15:25:44] watchfiles v0.21.0 👀 path="/mnt/c/Users/yli2/workspace/******" target="echo reloaded" (command) filter=DefaultFilter...
[15:25:44] running "echo reloaded" as command
[15:25:44] registering handler for SIGTERM on watchfiles process 13943
reloaded
watcher: PollWatcher { watches: Mutex { data:
Operating System & Architecture
Linux-5.15.133.1-microsoft-standard-WSL2-x86_64-with-glibc2.35
Environment
docker, WSL
Python & Watchfiles Version
python: 3.8.18 (default, Aug 25 2023, 13:20:30) [GCC 11.4.0], watchfiles: 0.21.0
Rust & Cargo Version
No response