Skip to content

Commit 801ddc2

Browse files
APB9785leandrocp
andauthored
Reload components module after updating (#691)
* reload components module after updating * add note --------- Co-authored-by: Leandro Pereira <leandro@leandro.io>
1 parent 94fab11 commit 801ddc2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/beacon/loader.ex

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,10 @@ defmodule Beacon.Loader do
362362
|> Loader.Components.module_name()
363363
|> unload()
364364

365+
# consider implementing HTML and Tag engines
366+
# to intercept component module calls
367+
load_components_module(site)
368+
365369
load_runtime_css(site)
366370

367371
{:noreply, config}

0 commit comments

Comments
 (0)