Skip to content

Commit

Permalink
fix: use loadpaths instead of run
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 f38b7bc commit 2beb7e2
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 2beb7e2

Please sign in to comment.