Reset devchain after updating the cli #137
Labels
🚀 new feature
A change that adds new functionality to the API
🙏 good first issue
An easy issue for a new contributor
Milestone
Given that updates to the cli can bring new kits or apps, the devchain should be restarted when we detect that the version has changed.
Quick way to do it is to append the cli version to the snapshot directory, which will also allow to go back to a previous snapshot when downgrading.
If we want to do a proper wipe every time, we could save a file in the
~/.aragon
directory (~/.aragon/version
) where we write the version number every time devchain is started. If when starting the devchain, we detect the version has changed, we should force areset
.The text was updated successfully, but these errors were encountered: