#!/bin/bash -e ## tools/run ## ## Runs the service, and runs a development version of the UI, with hot ## reloading and live code changes enabled. PIDS=() trap 'kill "${PIDS[@]}"' EXIT cargo run & PIDS+=($!) npx vite dev --host & PIDS+=($!) wait "${PIDS[@]}"