I would probably start with storing the code in the snapshot.
Jaguar was designed as a development tool, whereas production uses something else.
In local settings it's often used permanently, so maybe it could be interesting. Note that you would still need the snapshot for debugging. But you could rebuild that one. Iirc the compilation is deterministic.