I have a package MyPackage
that loads stuff in an order that ends up invalidating a lot of Makie.
using DependencyA
using Makie
Long term I would like to solve it, but for now I would just like to work around it. If I use PrecompileTools.@recompile_invalidations when my package’s requirements then things work quite well.
using DependencyA
using Makie
The recompilations take about 2 minutes, but save me at least 30 seconds for my plot to draw.
However, now whenever I modify my package, I it looks like the invalidations get recompiled (when not using Revise). I guess this is because precompilation works at the pkgimage level. (Perhaps?)
So is the only solution to isolating the invalidation recompilation from changes in MyPackage
creating a new package just for this? Or is there some other way to isolate it from my changes in MyPackage?