diff --git a/watch.sh b/watch.sh new file mode 100755 index 0000000..d6d2306 --- /dev/null +++ b/watch.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +for package in $(ls packages); do + npx onchange packages/$package -e '**/dist/**' -k -- pnpm run --filter $package build & +done + +echo "Watching for changes" + +wait