Congratulate when koans are complete

This commit is contained in:
Jay Hayes
2016-04-26 17:35:31 -05:00
parent 7903923e36
commit 6ae1cae4b8
3 changed files with 9 additions and 0 deletions

View File

@@ -16,6 +16,8 @@ defmodule Mix.Tasks.Meditate do
|> Tracker.start
|> Runner.run
if Tracker.complete?, do: Display.congratulate
receive do
{:DOWN, _references, :process, watcher, _reason} -> nil
end