bitque/jirs-client/scripts/dev.sh

10 lines
258 B
Bash
Raw Normal View History

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