From 1b6a7e0d00703e3da2e1620b5a2b2cba027161de Mon Sep 17 00:00:00 2001 From: Joris Date: Tue, 28 Jan 2020 09:55:58 +0100 Subject: Implement game of life --- watch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 watch (limited to 'watch') diff --git a/watch b/watch new file mode 100755 index 0000000..802c503 --- /dev/null +++ b/watch @@ -0,0 +1,13 @@ +#!/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 -- cgit v1.2.3