I’m experiencing a similar issue after a system crash in the middle of developing my app (the phx.server was running).
The reason for crash is unknown (could be related to a faulty keyboard on my laptop).
Problem
The auto-recompile no longer happens, but manual recompile does see and recompile the changes, then I have to manually refresh the browser to see changes.
Same for all files: .ex, .eex, .leex, .scss
Note: I never changed any config records related to :code_reloader and they seem to be Ok, i.e. true for dev.
The following didn’t help:
- Manually updated all
depsto latest versions. - Manually removed the folders
_build/,depsandnode_modulesand reinstalled latest dependencies. - Replaced the local repo with freshly cloned from remote and ran
mix setupwith latest versions for all deps inmix.ex. - Uninstalled
Elixir-LSextension for VS Code.
Observation
I couldn’t reproduce this behavior, i.e. live code reloading works fine on a newly created app (with `mix phx.new testapp --live).
My setup:
OS: MX-18.3_x64
Elixir: Elixir 1.11.2 (Erlang/OTP 23)
Editor: VS Code (latest)
I’m not sure what to try next, so any help in fixing this issue is much appreciated!






















