Skip to content

Commit 97a8fe5

Browse files
authored
fix: use loadpaths instead of run (#108)
This mix task does what we actually want, which is to load all of the code paths and not start the app. Fixes #97 Closes elixir-lang/elixir#12764
1 parent 5e2f55f commit 97a8fe5

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

lib/next_ls/runtime.ex

+3-4
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,13 @@ defmodule NextLS.Runtime do
6464
],
6565
args: [
6666
System.find_executable("elixir"),
67+
"--no-halt",
6768
"--sname",
6869
sname,
6970
"-S",
7071
"mix",
71-
"run",
72-
"--no-halt",
73-
"--no-compile",
74-
"--no-start"
72+
"loadpaths",
73+
"--no-compile"
7574
]
7675
]
7776
)

0 commit comments

Comments
 (0)