Files
brittle/scripts/dev.sh
2026-04-03 18:45:08 +02:00

7 lines
268 B
Bash
Executable File

#!/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