REPL unresponsive after 'using' package

I’ve got an interesting problem with one of my dev’ed packages after upgrading to julia 1.2 (compiled from source).

In the REPL, after using MyPackage I now always get a Recompile stale cache file,
and after the second julia> command prompt appears, I’m unable to type any text for about 30 seconds (it just hangs, afterwards the text magically appears).

Things I’ve tried:

  • clear startup.jl (thought that maybe Revise is causing some issues, not the case)
  • do a Pkg.resolve in the v1.2 and MyPackage environment
  • test it with another dev’ed package (works fine).

So basically I’ve tried nothing and I’m all out of ideas. Does anyone have a clue what might be causing this?

1 Like

I just fixed it. For future reference, the problem was connected to the VegaLite package. After removing that dependency, the issues went away.

Apparently nobody else got that problem with VegaLite, so I guess there was just something weird in my code.