Skip to content

Commit 6e7bf7b

Browse files
Precompilation: Fix recognizing when new versions of already loaded packages are already precompiled (#2753)
1 parent 6710be0 commit 6e7bf7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/API.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1000,7 +1000,7 @@ end
10001000

10011001
function _is_stale(paths::Vector{String}, sourcepath::String)
10021002
for path_to_try in paths
1003-
staledeps = Base.stale_cachefile(sourcepath, path_to_try)
1003+
staledeps = Base.stale_cachefile(sourcepath, path_to_try, ignore_loaded = true)
10041004
staledeps === true ? continue : return false
10051005
end
10061006
return true

0 commit comments

Comments
 (0)