Skip to content
CCPEDIAby Unity Nodes
App Development

Can I force Daml Studio reload dependencies?

3 posts195 views4 likesLast activity Oct 2021

  1. gyorgybalazsiOP 1

    I have separated the Daml model and the tests in different packages for my latest project. The test package uses the dar of the Daml model as dependency.

    This has clear advantages, discussed in the Daml docs.

    One thing is inconvenient though: every time I update the Daml code, I have to re-build the dar of the Daml model (this is inevitable) and force the test package to reload the dar.

    For the latter, I haven’t found a better solution so far than closing and reopening the Daml Studio window containing the test package, which is time consuming.

    Is there a better way to do that?

  2. cocreature 3

    You can go via Ctrl/Cmd-Shift-P and then run Reload Window which is a bit more convenient than restarting vscode. It doesn’t remove the need for daml build though.

  3. gyorgybalazsi

    Thanks