WebDevUtils.Components (web_dev_utils v0.3.0)

Builtin components.

Summary

Functions

A component for triggering live reloading via a websocket.

Functions

live_reload(_)

A component for triggering live reloading via a websocket.

The url for the websocket connectino is controlled by the :reload_url applicaiton config key.

Example

# config/config.exs

config :web_dev_utils, :reload_url, "wss://sometunnelingdomain/ws"