Skip to content

Commit 8cc05cc

Browse files
committed
Add note about changing debug_heex_annotations to config
Closes phoenixframework/phoenix_live_view#3565.
1 parent 278cd45 commit 8cc05cc

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

installer/templates/phx_single/config/dev.exs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ config :phoenix, :stacktrace_depth, 20
7070
config :phoenix, :plug_init_mode, :runtime<%= if @html do %>
7171

7272
config :phoenix_live_view,
73-
# Include HEEx debug annotations as HTML comments in rendered markup
73+
# Include HEEx debug annotations as HTML comments in rendered markup.
74+
# Changing this configuration will require mix clean and a full recompile.
7475
debug_heex_annotations: true,
7576
# Enable helpful, but potentially expensive runtime checks
7677
enable_expensive_runtime_checks: true<% end %><%= if @mailer do %>

installer/templates/phx_umbrella/config/dev.exs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ config :logger, :default_formatter, format: "[$level] $message\n"
77
config :phoenix, :plug_init_mode, :runtime<%= if @html do %>
88

99
config :phoenix_live_view,
10-
# Include HEEx debug annotations as HTML comments in rendered markup
10+
# Include HEEx debug annotations as HTML comments in rendered markup.
11+
# Changing this configuration will require mix clean and a full recompile.
1112
debug_heex_annotations: true,
1213
# Enable helpful, but potentially expensive runtime checks
1314
enable_expensive_runtime_checks: true<% end %><%= if @mailer do %>

0 commit comments

Comments
 (0)