How many times should Phoenix LiveReload be triggered on file change?

Hey All, I was wondering, how many times should Phoenix LiveReload be triggered when changing a file? At this time, I’m seeing the following within the terminal when I add a new line to the app.scss file:

Compiled css/app.scss to ../priv/static/assets/app.tailwind.css.

Rebuilding...
Done in 50ms.
[debug] Live reload: priv/static/assets/app.tailwind.css
[debug] Live reload: priv/static/assets/app.tailwind.css
[debug] Live reload: priv/static/assets/app.css
[debug] Live reload: priv/static/assets/app.css

It should trigger the reload once per open session / page. It looks like you have your page open in 2 different tabs / windows, so it is triggered twice.

2 Likes

Yes, that was it and thanks for that information.

1 Like