bin(watch-run): Skip print on directory change
This commit is contained in:
parent
3e46798466
commit
4ff877aa2d
1 changed files with 1 additions and 3 deletions
|
|
@ -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
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue