We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ce4c0a commit 4011f4eCopy full SHA for 4011f4e
apps/language_server/lib/language_server/build.ex
@@ -98,6 +98,8 @@ defmodule ElixirLS.LanguageServer.Build do
98
end
99
100
101
+ unload_mix_project_apps()
102
+
103
# FIXME: Private API
104
Mix.Project.pop()
105
purge_module(module)
@@ -401,7 +403,10 @@ defmodule ElixirLS.LanguageServer.Build do
401
403
for dep <- current_deps do
402
404
maybe_purge_dep(dep)
405
406
+ end
407
408
+ defp unload_mix_project_apps() do
409
+ # note that this will unload config so we need to call loadconfig afterwards
410
mix_project_apps =
411
if Mix.Project.umbrella?() do
412
Mix.Project.apps_paths() |> Enum.map(&elem(&1, 0))
0 commit comments