#!/bin/sh # dev.sh — start both the viewer TypeScript watcher and the Leptos trunk server. # Run from the project root (cargo tauri dev sets cwd to src-tauri/../ = project root). set -e npm --prefix src-tauri/assets/viewer-src run dev & cd brittle-ui && trunk serve