View Source LiveViewNative.LiveReloader (live_view_native v0.3.0)

Router for live-reload detection of LiveView Native applications in development.

Usage

Add the LiveViewNative.LiveReloader plug within a code_reloading? block in your Endpoint, ie:

if code_reloading? do
  socket "/phoenix/live_reload/socket", Phoenix.LiveReloader.Socket
  plug Phoenix.LiveReloader
  plug LiveViewNative.LiveReloader
end

Summary

Functions

Callback implementation for Plug.call/2.

Callback implementation for Plug.init/1.

Functions

Callback implementation for Plug.call/2.

Callback implementation for Plug.init/1.