Constant reload on phx.server watch files

Okay. I could reproduce that. It is an esbuild bug (which was fixed 0.13.5).

Try bumping the esbuild version in config.exs.

config :esbuild,
  version: "0.13.9",
  ....

and then run mix esbuild.install

That should fix the issue.

4 Likes