Skip to content

Commit

Permalink
Reload components module after updating (#691)
Browse files Browse the repository at this point in the history
* reload components module after updating

* add note

---------

Co-authored-by: Leandro Pereira <leandro@leandro.io>
  • Loading branch information
APB9785 and leandrocp authored Dec 9, 2024
1 parent 94fab11 commit 801ddc2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/beacon/loader.ex
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,10 @@ defmodule Beacon.Loader do
|> Loader.Components.module_name()
|> unload()

# consider implementing HTML and Tag engines
# to intercept component module calls
load_components_module(site)

load_runtime_css(site)

{:noreply, config}
Expand Down

0 comments on commit 801ddc2

Please sign in to comment.