Skip to content
CCPEDIAby Unity Nodes
Discussions/App Development/Can I force Daml Studio reload dependencies?Forum ↗

Can I force Daml Studio reload dependencies?

App Development3 posts177 views4 likesLast activity Oct 2021
GY
gyorgybalazsiOP
Oct 2021

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?

CO
cocreature
Oct 2021

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.

GY
gyorgybalazsi
Oct 2021

Thanks

← Back to Discussions