Skip to content
Provides live-reload functionality for Phoenix
Elixir JavaScript
Latest commit 046bda3 May 4, 2016 @josevalim josevalim Release v1.0.5
Failed to load latest commit information.
config Make it so Mar 23, 2015
lib/phoenix_live_reload Log live reload events Jan 11, 2016
priv/static Fix variable name Nov 26, 2015
test Release 1.0.4 Apr 29, 2016
.gitignore Make it so Mar 24, 2015
CHANGELOG.md Release v1.0.5 May 4, 2016
README.md Add missing "to" preposition to Usage Dec 21, 2015
mix.exs Release v1.0.5 May 4, 2016
mix.lock Release 1.0.4 Apr 29, 2016

README.md

A project for live-reload functionality for Phoenix during development.

Usage

You can use phoenix_live_reload in your projects by adding it to your mix.exs dependencies:

def deps do
  [{:phoenix_live_reload, "~> 1.0"}]
end

Backends

This project uses fs as a dependency to watch your filesystem whenever there is a change and it supports the following operating systems:

  • Linux via inotify (installation required)
  • Windows via inotify-win (no installation required)
  • Mac OS X via fsevents (no installation required)

Skipping remote CSS reload

All stylesheets are reloaded without a page refresh anytime a style is detected as having changed. In certain cases such as serving stylesheets from a remote host, you may wish to prevent unnecessary reload of these stylesheets during development. For this, you can include a data-no-reload attribute on the link tag, ie:

<link rel="stylesheet" href="http://example.com/style.css" data-no-reload>

License

Same license as Phoenix.

Something went wrong with that request. Please try again.