Skip to content

Commit 1d0a5ad

Browse files
IanButterworthKristofferC
authored andcommitted
Precompilation: Fix recognizing when new versions of already loaded packages are already precompiled (#2753)
(cherry picked from commit 6e7bf7b)
1 parent 3d629dd commit 1d0a5ad

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
@@ -994,7 +994,7 @@ end
994994

995995
function _is_stale(paths::Vector{String}, sourcepath::String)
996996
for path_to_try in paths
997-
staledeps = Base.stale_cachefile(sourcepath, path_to_try)
997+
staledeps = Base.stale_cachefile(sourcepath, path_to_try, ignore_loaded = true)
998998
staledeps === true ? continue : return false
999999
end
10001000
return true

0 commit comments

Comments
 (0)