blob: 8560c317c3280578f24acc9a4ba29130acba6c7f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/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[@]}"
|