Is there a way to automatically track changes in packages after they are in a sysimage? My current workaround is:
const SYSIMAGE_TIME = time()
function track_sysimage_package(p)
id = Base.PkgId(p)
Revise.watch_package(id)
pkgdata = Revise.pkgdatas[id]
for file in Revise.srcfiles(pkgdata)
fullfile = joinpath(Revise.basedir(pkgdata), file)
if stat(fullfile).mtime > SYSIMAGE_TIME
push!(Revise.revision_queue, (pkgdata, file))
end
end
end