dfinity / motoko-dev-server

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

Inject HMR server logic with `--generate` flag #12

Closed rvanasa closed 1 year ago

rvanasa commented 1 year ago

Makes it possible to seamlessly transition from redeploying on save to using the MoVM hot module replacement server.

This is implemented by injecting a custom code snippet into the JS bindings created by the dfx generate command.