Skip to content

Commit 21c7097

Browse files
authored
Don't block the main process (#3)
The Phoenix application will run forever until the parent process dies. Removing the await ensures that the main process is not blocked and you can run `iex -S dev` and work in the console.
1 parent e2284f5 commit 21c7097

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

dev.exs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,4 +157,3 @@ Task.async(fn ->
157157

158158
Process.sleep(:infinity)
159159
end)
160-
|> Task.await(:infinity)

0 commit comments

Comments
 (0)