Files
penpot/render-wasm/watch
2026-02-17 14:27:36 +01:00

23 lines
324 B
Bash
Executable File

#!/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 \
--why \
-i "_tmp*"
-x "build $CARGO_PARAMS" \
-s "./build" \
-s "echo 'DONE\n'";
popd