#!/usr/bin/env bash # Automatically builds btconsole and btconsole-client when files in their respective crates change. set -euo pipefail RUST_LOG=warn,btfsd=debug,btconsole=debug,btmsg=debug cargo watch -- sh -c 'cd ../btconsole-client && trunk build && cd - && cargo run'