View Source KinoLiveView.LiveReloader.Channel (kino_live_view v0.1.0)
The client listens on the phoenix:live_reload channel for the "assets_change" message. So we send "assets_change" js event, the client will reload the page.
Further explanation here: https://shankardevy.com/code/phoenix-live-reload/
Summary
Functions
Callback implementation for Phoenix.Channel.handle_info/2
.
Callback implementation for Phoenix.Channel.join/3
.
Functions
Callback implementation for Phoenix.Channel.handle_info/2
.
Callback implementation for Phoenix.Channel.join/3
.