Skip to content

Commit 2934fcb

Browse files
committed
Improves watch-test
1 parent 5d69905 commit 2934fcb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/watch-test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ function autotest() {
2020

2121
if [[ ${changed_lines[@]} ]]
2222
then
23-
echo $1:$(colon_join $changed_lines)
23+
echo $1 #:$(colon_join $changed_lines)
2424
else
2525
echo $1
2626
fi
@@ -65,4 +65,4 @@ function autotest() {
6565
export -f autotest
6666

6767
echo Watching tests...
68-
fswatch -0 -e ".*" -i "^[^#]*\.rb$" . | xargs -0 -n 1 -I % bash -c 'autotest %'
68+
fswatch --event Updated -0 -e ".*" -i "^[^#]*\.rb$" . | xargs -0 -n 1 -I % bash -c 'autotest %'

0 commit comments

Comments
 (0)