From d5e427a80fd360d274b4ae4f8af4d82b31bb4925 Mon Sep 17 00:00:00 2001 From: ponychicken Date: Sat, 28 Sep 2024 13:01:24 +0200 Subject: [PATCH] Enable web_console_logger for umbrella as well --- .../templates/phx_umbrella/apps/app_name_web/config/dev.exs | 1 + 1 file changed, 1 insertion(+) diff --git a/installer/templates/phx_umbrella/apps/app_name_web/config/dev.exs b/installer/templates/phx_umbrella/apps/app_name_web/config/dev.exs index bcc1304b48..d73204be7e 100644 --- a/installer/templates/phx_umbrella/apps/app_name_web/config/dev.exs +++ b/installer/templates/phx_umbrella/apps/app_name_web/config/dev.exs @@ -45,6 +45,7 @@ config :<%= @web_app_name %>, <%= @endpoint_module %>, # Watch static and templates for browser reloading. config :<%= @web_app_name %>, <%= @endpoint_module %>, live_reload: [ + web_console_logger: true, patterns: [ ~r"priv/static/(?!uploads/).*(js|css|png|jpeg|jpg|gif|svg)$",<%= if @gettext do %> ~r"priv/gettext/.*(po)$",<% end %>