#!/usr/bin/env bash # Automatically builds btconsole and btconsole-client when files in their respective crates change. set -euo pipefail cargo watch -- sh -c 'cd ../btconsole-client && trunk build && cd - && cargo run --features="tokio/rt-multi-thread env_logger ctrlc" --bin btconsole-bin'