Las*_*ser 2 elixir-mix elixir phoenix-framework iex
通过混合在iex会话中运行凤凰服务器,如:
iex -S mix phx.server
Run Code Online (Sandbox Code Playgroud)
有时候会列出一些警告:
Compiling 1 file (.ex)
warning: variable "user" is unused
lib/app_web/controllers/user_controller.ex:37
Run Code Online (Sandbox Code Playgroud)
但似乎只是第一次运行服务器,之后我认为它是缓存的,所以它没有显示出来.我怎么能在以后看到这些警告来修复它们?谢谢.