Emacs generates a temp file when a buffer is being edited, e.g. editing a.html.eex
would produce .#a.html.eex
. Unfortunately, since the file extension matches, Phoenix live reload will be triggered on such occasions as well. Is there any way to let live reload ignore such files and thus disable this behavior?
You can modify the regex in config/dev.exs
to only match paths not containing #
.
In config/dev.exs
, change:
~r{web/templates/.*(eex)$}
to:
~r{web/templates/[^#]*(eex)$}