We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5137c33 commit aef7e4eCopy full SHA for aef7e4e
lib/mix/lib/mix/tasks/compile.all.ex
@@ -43,11 +43,13 @@ defmodule Mix.Tasks.Compile.All do
43
Code.delete_paths(current_paths -- loaded_paths)
44
end
45
46
+ Code.prepend_paths(loaded_paths -- current_paths, cache: true)
47
+
48
# Add the current compilation path. compile.elixir and compile.erlang
49
# will also add this path, but only if they run, so we always add it
50
# here too. Furthermore, we don't cache it as we may still write to it.
51
compile_path = to_charlist(Mix.Project.compile_path())
- Code.prepend_paths([compile_path | loaded_paths -- current_paths], cache: true)
52
+ Code.prepend_path(compile_path)
53
54
result =
55
if "--no-compile" in args do
0 commit comments