aboutsummaryrefslogtreecommitdiff
path: root/justfile
diff options
context:
space:
mode:
authorZoltan Szabatin <[email protected]>2025-02-28 01:40:43 -0800
committerZoltan Szabatin <[email protected]>2025-02-28 01:40:43 -0800
commitdd671046d5897670817cf0bc9eb5aeffca2b74fe (patch)
tree66112df78e42cf12798c2e3e38cf30f04056b6db /justfile
parentfeat: Add serial interface (diff)
downloadsplitscreen-duo-dd671046d5897670817cf0bc9eb5aeffca2b74fe.tar.xz
splitscreen-duo-dd671046d5897670817cf0bc9eb5aeffca2b74fe.zip
chore(justfile): Improve run watcher
Diffstat (limited to 'justfile')
-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