Skip to content

Commit

Permalink
Precompilation: Fix recognizing when new versions of already loaded p…
Browse files Browse the repository at this point in the history
…ackages are already precompiled (#2753)

(cherry picked from commit 6e7bf7b)
  • Loading branch information
IanButterworth authored and KristofferC committed Nov 9, 2021
1 parent 3d629dd commit 1d0a5ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/API.jl
Original file line number Diff line number Diff line change
Expand Up @@ -994,7 +994,7 @@ end

function _is_stale(paths::Vector{String}, sourcepath::String)
for path_to_try in paths
staledeps = Base.stale_cachefile(sourcepath, path_to_try)
staledeps = Base.stale_cachefile(sourcepath, path_to_try, ignore_loaded = true)
staledeps === true ? continue : return false
end
return true
Expand Down

0 comments on commit 1d0a5ad

Please sign in to comment.