# Stop on errors set -e cd "$(dirname "$0")/.." rm -rf dist # Quit all background tasks when script exits trap "kill 0" EXIT # Run tsc once as rollup expects those files tsc || true yarn serve & yarn tsc --watch & yarn rollup -c --watch & wait