[Daml Repl] Loading script without rebuild

Hi team,

I played around with the daml repl and realize that I cannot import a modified script without rebuilding daml. Consider following situation

  • daml sandbox
  • daml repl
  • import Intro.Asset
  • add a new template to daml/intro/Asset.daml
  • import Intro.Asset

The new added template will not be visible unless I rebuild daml. Is there a way to avoid it?

Thanks,
Kim

At this point there is no option to avoid this. You have to rebuild the DAR and restart Daml REPL.