Skip to content

Commit

Permalink
fix: use loadpaths instead of run (#108)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
mhanberg committed Jul 12, 2023
1 parent 5e2f55f commit 97a8fe5
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions lib/next_ls/runtime.ex
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,13 @@ defmodule NextLS.Runtime do
],
args: [
System.find_executable("elixir"),
"--no-halt",
"--sname",
sname,
"-S",
"mix",
"run",
"--no-halt",
"--no-compile",
"--no-start"
"loadpaths",
"--no-compile"
]
]
)
Expand Down

0 comments on commit 97a8fe5

Please sign in to comment.