-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
I've defined a mix server task (link) in my project which can be used to launch the app, but when I do so in dev mode I get the following error message:
21:57:37.238 [error] GenServer Remix.Worker terminating
** (UndefinedFunctionError) undefined function: Mix.Tasks.Compile.Elixir.run/1 (module Mix.Tasks.Compile.Elixir is not available)
Mix.Tasks.Compile.Elixir.run(["--ignore-module-conflict"])
(remix) lib/remix.ex:35: Remix.Worker.handle_info/2
(stdlib) gen_server.erl:615: :gen_server.try_dispatch/4
(stdlib) gen_server.erl:681: :gen_server.handle_msg/5
(stdlib) proc_lib.erl:240: :proc_lib.init_p_do_apply/3
Last message: :poll_and_reload
State: %Remix.Worker.State{last_mtime: nil}Can this be fixed in any way or does the recompilation only work when launched with iex -S mix?
The same thing goes when launching from an escript. I understand though that in this case the project can't be recompiled but perhaps the error message can be suppressed (not sure it's a good idea).
Thanks for a great project!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels