From 75c93a4bf9aa7d81af3de926dba8f1f0c2a32718 Mon Sep 17 00:00:00 2001 From: Brandon Presley Date: Tue, 20 Sep 2022 15:56:36 +1200 Subject: [PATCH] Delete watch.sh I split the two tsc and linting up because sending to the background in a script means I can't easily kill them again with `jobs`. --- watch.sh | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100755 watch.sh diff --git a/watch.sh b/watch.sh deleted file mode 100755 index 106d064..0000000 --- a/watch.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh - -ls *.ts* | entr yarn lint | tee >( - while read ln; do - if echo "${ln}" | grep -q "error"; then - notify-send "${ln}" - fi - done -) & -yarn tsc --watch --preserveWatchOutput | tee >( - while read ln; do - if echo "${ln}" | grep -q "Found [^0][0-9]* error"; then - notify-send "${ln}" - fi - done -) &