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.
Phoenix.CodeReloader web ( lib Phoenix 1.2). , - (, ), Elixir . (, -) Endpoint .
Phoenix.CodeReloader
web
lib
Endpoint
phoenix_live_reload , JavaScript WebSocket . live_reload (JavaScript, , ), , WebSocket. Elixir, , . JavaScript CSS, ( .)
phoenix_live_reload
Source: https://habr.com/ru/post/1624164/More articles:Protractor: catch AssertionError - javascriptПостроение char в режиме VGA - cEfficient character vector splitting - listSpringViewProvider для пользовательского интерфейса Spring в Ваадине - javaSelecting elements from an array - javaEnter input to fill in the remaining label width - javascriptRun a python function that explicitly accepts arguments from powershell (without passing arguments separately) - functionCan we connect to Exchange 2016 using the EWS Managed API? - .netCreate a dynamic update request in psycopg2 - pythonWhat happens when you declare a callback with the wrong number of parameters in C? - cAll Articles