From dd671046d5897670817cf0bc9eb5aeffca2b74fe Mon Sep 17 00:00:00 2001 From: Zoltan Szabatin Date: Fri, 28 Feb 2025 01:40:43 -0800 Subject: chore(justfile): Improve run watcher --- justfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/justfile b/justfile index dfff4c9..04ec416 100644 --- a/justfile +++ b/justfile @@ -10,5 +10,6 @@ kill_serial_devices: run: just create_serial_devices SERIAL_DEVICE=/tmp/primary-serial DEVELOPMENT=1 INSTANCE=primary rye run splitscreen_duo & - SERIAL_DEVICE=/tmp/secondary-serial DEVELOPMENT=1 INSTANCE=secondary rye run splitscreen_duo + SERIAL_DEVICE=/tmp/secondary-serial DEVELOPMENT=1 INSTANCE=secondary rye run splitscreen_duo & + while pgrep python3 >/dev/null 2>&1; do sleep 1; done just kill_serial_devices -- cgit v1.2.3