Updating the template

As the Electric UI improves over time, you may want to update your application to make use of newer features.

Updating

We strongly recommend you have a copy of your project as backup (in Git or similar). While the upgrade process is pretty reliable in our testing, its often useful to rollback changes and check previous versions.

From the project directory, invoke arc upgrade.

This will compare the template version against the most recent template, and intelligently modifies the sourcecode to bring your project up to the latest version. Your changes to the template aren't modified, as arc diffs against the newer template at the AST level to ensure the underlying functionality upgrade, whilst adapting to syntactical conflicts or project reorganisation.

Once complete, try launching the project's dev environment with a normal arc start.

Troubleshooting

Get in contact with us, we've not seen this go horribly wrong yet.