Hi,
I’ve been having this constant issue with multiple phoenix projects. My assets and page are constantly reloading around every 20 seconds. Is not one project but multiple. I don’t know if this is Phoenix related, Liveview related, OS related or being caused by some other app or tool.
if I install a new phoenix from fresh with
mix phx.new foo --live
and run… mix phx.server
all I see is:
❯ mix phx.server
[info] Running FooWeb.Endpoint with cowboy 2.9.0 at 127.0.0.1:4000 (http)
[info] Access FooWeb.Endpoint at http://localhost:4000
[watch] build finished, watching for changes...
[watch] build started (change: "../../..")
[watch] build finished
[watch] build started (change: "../../..")
[watch] build finished
[watch] build started (change: "../../..")
[watch] build finished
[watch] build started (change: "../../..")
[watch] build finished
never ending… without doing touching the app, without opening it in the browser, without code open in an IDE or text editor… simply by running the command and looking at the console.
This issue gets worst has I add stuff to the assets or css. And in the browser is constant page reloads that dont allow me to do anything.
My question is simple… is there any way to see what triggered the reload? or rebuild?
I’m running:
❯ elixir -v
Erlang/OTP 24 [erts-12.1.2] [source] [64-bit] [smp:16:16] [ds:16:16:10] [async-threads:1] [jit] [dtrace]
Elixir 1.12.3 (compiled with Erlang/OTP 24)
❯ mix phx -v
Phoenix v1.6.2
on macOS big sur 11.6
I dont know what else other feedback to give.