diff options
| author | Paul Buetow <paul@buetow.org> | 2026-04-14 22:01:34 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-04-14 22:01:34 +0300 |
| commit | 974fdc556c7a52c167229bc41fec85b175e53c8e (patch) | |
| tree | 1c5c80f07a367a3531511e0a496091831c2c7192 /Justfile | |
| parent | db5483fe5049bdd18575ea6efad189acd72fcaf6 (diff) | |
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 <noreply@anthropic.com>
Diffstat (limited to 'Justfile')
| -rw-r--r-- | Justfile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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}} # ───────────────────────────────────────────── |
