watchexec: make the polling interval used clearer (#21048)

Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
This commit is contained in:
Yassine Zouggari
2026-02-20 02:28:32 +00:00
committed by GitHub
parent 8836d91f6d
commit 32a000603e
+2 -2
View File
@@ -20,6 +20,6 @@
`watchexec {{[-r|--restart]}} --stop-signal {{SIGKILL}} {{my_server}}`
- Restart the execution of a command when any Java source file in the current directory changes, sending `SIGKILL` and only checking for updates every `n`ms:
- Restart the execution of a command when any Java source file in the current directory changes, sending `SIGKILL` and only checking for updates every `10000` ms:
`watchexec {{[-r|--restart]}} --stop-signal {{SIGKILL}} --poll {{10000}} {{[-e|--exts]}} {{java}} {{command}}`
`watchexec {{[-r|--restart]}} --stop-signal {{SIGKILL}} --poll 10000 {{[-e|--exts]}} {{java}} {{command}}`