From 0b691d5ccd1109415587d238ab26b672fb21dfe4 Mon Sep 17 00:00:00 2001 From: crbelaus Date: Sat, 8 Jun 2024 16:45:51 +0200 Subject: [PATCH] Don't block the main process 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. --- dev.exs | 1 - 1 file changed, 1 deletion(-) diff --git a/dev.exs b/dev.exs index 524f4fa..014a907 100644 --- a/dev.exs +++ b/dev.exs @@ -136,4 +136,3 @@ Task.async(fn -> Process.sleep(:infinity) end) -|> Task.await(:infinity)