bitque/jirs-client/scripts/dev.sh
2020-10-18 10:35:41 +02:00

10 lines
258 B
Bash
Executable File

#!/usr/bin/env bash
PROJECT_ROOT=$(git rev-parse --show-toplevel)
CLIENT_ROOT=${PROJECT_ROOT}/jirs-client
cd ${CLIENT_ROOT}
. .env
cargo watch -s ${CLIENT_ROOT}/scripts/run-wasm-pack.sh -w ${CLIENT_ROOT}/src -w ${CLIENT_ROOT}/Cargo.toml -w ./static -w js