Skip to content

Commit 43b923b

Browse files
committed
Release 1.4.1
1 parent 78459f8 commit 43b923b

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## 1.4.1 (2022-11-29)
4+
5+
* Improvements
6+
* Support new `:notify` configuration for third-party integration to file change events
7+
38
## 1.4.0 (2022-10-29)
49

510
* Improvements

lib/phoenix_live_reload/live_reloader.ex

+4
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ defmodule Phoenix.LiveReloader do
3333
* `:patterns` - a list of patterns to trigger the live reloading.
3434
This option is required to enable any live reloading.
3535
36+
* `:notify` - a keyword list of topics pointing to a list of patterns.
37+
A mesage of the form `{:phoenix_live_reload, topic, path}` will be
38+
broadcast on the topic whenever file in the list of patterns changes.
39+
3640
* `:debounce` - an integer in milliseconds to wait before sending
3741
live reload events to the browser. Defaults to `0`.
3842

mix.exs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
defmodule PhoenixLiveReload.Mixfile do
22
use Mix.Project
33

4-
@version "1.4.0"
4+
@version "1.4.1"
55

66
def project do
77
[

0 commit comments

Comments
 (0)