Update dev.exs error message to write to stderr. Currently it dumps this message...
authorDaniel <daniel.kuku@gmail.com>
Tue, 27 Jul 2021 20:41:36 +0000 (20:41 +0000)
committerDaniel <daniel.kuku@gmail.com>
Tue, 27 Jul 2021 20:41:36 +0000 (20:41 +0000)
config/dev.exs

index 6b7ffb0e9064f7c3a19b19622c69398239219955..45e7f27ec08957e43075087d0f48aed13a748a7f 100644 (file)
@@ -61,7 +61,7 @@ config :phoenix, :plug_init_mode, :runtime
 if File.exists?("./config/dev.secret.exs") do
   import_config "dev.secret.exs"
 else
-  IO.puts(
+  IO.warn(
     "!!! RUNNING IN LOCALHOST DEV MODE! !!!\nFEDERATION WON'T WORK UNTIL YOU CONFIGURE A dev.secret.exs"
   )
 end