dfinity / motoko-dev-server

A live reload development server for Motoko smart contracts.
Apache License 2.0
21 stars 1 forks source link

Perform automatic first-time setup for `--generate` when passing `--deploy` #26

Closed rvanasa closed 1 year ago

rvanasa commented 1 year ago

This PR handles a commonly encountered deadlock-esque situation when deploying front-end canisters with generated JavaScript/TypeScript declarations.

When passing both --generate and --deploy, the dev server will now deploy canisters listed as dependencies in the project's dfx.json config before running the dfx generate command.