Auto-run tests and clear screen before each run?

I found this solution. I haven’t looked into why it the shell foo is necessary:

    fswatch lib test | xargs -I {} sh -c 'clear && mix test'
3 Likes