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

Link to this function

handle_info(atom, socket)

View Source

Callback implementation for Phoenix.Channel.handle_info/2.

Link to this function

join(binary, msg, socket)

View Source

Callback implementation for Phoenix.Channel.join/3.