Does Phixix Code_Reloader only load elixir code?

This raised a question that someone else asked.

Looking at the documentation on Phoenix.CodeReloader , it looks like this only reloads Elixir code. It's right? If so, what does phoenix_live_reload do? Does live reloading also take care of reloading static pages and / or JS resources?

I just wanted to understand the difference between the two settings and in which the use cases fit together, not the others.

+4
source share
1 answer

Phoenix.CodeReloader web ( lib Phoenix 1.2). , - (, ), Elixir . (, -) Endpoint .

phoenix_live_reload , JavaScript WebSocket . live_reload (JavaScript, , ), , WebSocket. Elixir, , . JavaScript CSS, ( .)

+10

Source: https://habr.com/ru/post/1624164/


All Articles