Skip to content

Commit

Permalink
Run test only when modify or create a file
Browse files Browse the repository at this point in the history
  • Loading branch information
joaothallis authored Sep 19, 2018
1 parent 60c87c9 commit ce77769
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autotest.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# Start inotifywait and run test if test file or file inside lib is modified
while true; do
inotifywait -r -e modify,attrib,close_write,move,create,delete lib/ test/ && mix test
inotifywait -r -e modify,move,create,delete lib/ test/ && mix test
done

0 comments on commit ce77769

Please sign in to comment.