Watch
1
0
Fork
You've already forked dotfiles
0

bin(watch-run): Skip print on directory change

This commit is contained in:
Jeremy Kaplan 2026-09-21 11:29:36 -04:00
commit 4ff877aa2d

View file

@ -13,6 +13,4 @@ cmd=("$@")
# I specifically want the command to expand here. # I specifically want the command to expand here.
# #
# shellcheck disable=SC2068 # shellcheck disable=SC2068
until fd . "${dir}" | entr -dr ${cmd[@]}; do until fd . "${dir}" | entr -dr ${cmd[@]}; do :; done
echo 'Press Space or edit a file to re-run command'
done