From 9fb2011ef321f312c7fe1f9e2c0f1149e90a080a Mon Sep 17 00:00:00 2001 From: Jeremy Woertink Date: Sat, 11 Mar 2023 14:56:00 -0800 Subject: [PATCH] Small documentation update to clarify the reload tag. Fixes #782 [skip ci] (#794) --- .../src/components/shared/layout_head.cr | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/browser_app_skeleton/src/components/shared/layout_head.cr b/src/browser_app_skeleton/src/components/shared/layout_head.cr index fe2ca8cb..5a053315 100644 --- a/src/browser_app_skeleton/src/components/shared/layout_head.cr +++ b/src/browser_app_skeleton/src/components/shared/layout_head.cr @@ -10,10 +10,9 @@ class Shared::LayoutHead < BaseComponent csrf_meta_tags responsive_meta_tag - # Used only in development when running `lucky watch`. - # Will reload browser whenever files change. - # See [docs]() - live_reload_connect_tag + # Development helper used with the `lucky watch` command. + # Reloads the browser when files are updated. + live_reload_connect_tag if LuckyEnv.development? end end end