Update watchtestscripts.sh

This commit is contained in:
broughtupsy 2024-04-15 18:44:42 +03:00 committed by GitHub
parent 74e9129568
commit 72559f9dd2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3,5 +3,5 @@
trap exit SIGINT
# I use "run tests on save" in my editor.
# Unfortunately, changes to text files does not trigger this. Hence this workaround.
while true; do find testscripts -type f -name "*.txt" | entr -pd touch main_test.go; done
# Unfortunately, changes to text files do not trigger this. Hence this workaround.
while true; do find testscripts -type f -name "*.txt" | entr -pd touch main_test.go; done