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:
parent
565df842c9
commit
75c93a4bf9
16
watch.sh
16
watch.sh
|
@ -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
|
||||
) &
|
Loading…
Reference in New Issue
Block a user