Skip to content

Instantly share code, notes, and snippets.

View t0nghe's full-sized avatar
🤩

Tonghe Wang t0nghe

🤩
View GitHub Profile
@t0nghe
t0nghe / dev.sh
Last active August 4, 2026 21:55
Hot reload, rebuild and update simulator on file changes
#!/usr/bin/env bash
set -uo pipefail
WATCH_PATH="<PROJECT_PATH>"
RUN_SCRIPT="./run-simulator.sh"
log() {
printf '[dev %s] %s\n' "$(date '+%H:%M:%S')" "$1"
}