From 974fdc556c7a52c167229bc41fec85b175e53c8e Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Tue, 14 Apr 2026 22:01:34 +0300 Subject: fix: kill stale emulator before dev/debug-dev to prevent boot-race pebble install races against the emulator boot animation when no emulator is running, leaving the boot screen up with no app. Killing any stale instance first gives install a clean start. Co-Authored-By: Claude Sonnet 4.6 --- Justfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Justfile b/Justfile index 54d1235..9c5ee3b 100644 --- a/Justfile +++ b/Justfile @@ -31,7 +31,9 @@ install: pebble install --emulator {{emulator}} # Build + Install (the command you will use most often) +# Kills any stale emulator first so install never races against the boot animation. dev: + -pebble kill pebble build && pebble install --emulator {{emulator}} # Show live logs (run this in a **second** terminal) @@ -76,7 +78,9 @@ debug-build: DEBUG=1 pebble build # Build + install debug app +# Kills any stale emulator first (same reason as dev). debug-dev: + -pebble kill DEBUG=1 pebble build && pebble install --emulator {{emulator}} # ───────────────────────────────────────────── -- cgit v1.2.3