Open your iTerm2 preferences, then under Profiles / Advanced / Triggers add some regular expressions for the errors you want to notify. On Action select Post Notification, if the regex has group captures, you can use them as parameters.
FunTip: Under Action select Run Command with parameters: say "\1"
ProTip: mix test --listen-on-stdin will re-run tests when you hit enter.
Others like to use the mix_test_watch package, but I prefer not to add another dependency.


