#!/usr/bin/env bash _SCRIPT_DIR=$(dirname $0); pushd $_SCRIPT_DIR; . ./_build_env set -x build; copy_artifacts "../frontend/resources/public/js"; copy_shared_artifact; pushd $_SCRIPT_DIR; cargo watch \ -x "build $CARGO_PARAMS" \ -s "./build" \ -s "echo 'DONE\n'"; popd