From 32a000603e1b99471f1c8f37593c058d136c66a3 Mon Sep 17 00:00:00 2001 From: Yassine Zouggari Date: Fri, 20 Feb 2026 02:28:32 +0000 Subject: [PATCH] watchexec: make the polling interval used clearer (#21048) Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> --- pages/common/watchexec.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/common/watchexec.md b/pages/common/watchexec.md index 2c3b9c6ce3..10cded4022 100644 --- a/pages/common/watchexec.md +++ b/pages/common/watchexec.md @@ -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}}`