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'
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'