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`.
This commit is contained in:
Brandon Presley 2022-09-20 15:56:36 +12:00
parent 565df842c9
commit 75c93a4bf9
1 changed files with 0 additions and 16 deletions

View File

@ -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
) &