aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--justfile3
1 files changed, 2 insertions, 1 deletions
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