#!/usr/bin/env bash python -m http.server --directory public 8000 & trap "fuser -k 8000/tcp" EXIT CMD="clear && wasm-pack build --target web" while true; do find src | entr -d -s "$CMD" done