Skip to content

Commit 60ef904

Browse files
authored
Default fetchDeps to false (#633)
There were already race conditions (if the user runs `mix deps.get` at the same time) and Elixir 1.13 semantic recompilation makes it worse. Fixes #626
1 parent 6f45658 commit 60ef904

File tree

1 file changed

+1
-1
lines changed
  • apps/language_server/lib/language_server

1 file changed

+1
-1
lines changed

apps/language_server/lib/language_server/server.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -933,7 +933,7 @@ defmodule ElixirLS.LanguageServer.Server do
933933
state
934934

935935
not state.build_running? ->
936-
fetch_deps? = Map.get(state.settings || %{}, "fetchDeps", true)
936+
fetch_deps? = Map.get(state.settings || %{}, "fetchDeps", false)
937937

938938
{_pid, build_ref} =
939939
Build.build(self(), project_dir,

0 commit comments

Comments
 (0)