After reverting versions, automatically re-build project

After reverting to a previous commit, the project should rebuild. Otherwise, it's confusing to the user because it looks like their reversion isn't working:

For example, after reverting back to blue:

git confirms the change has been reverted, but I still see pink even after refreshing

Screenshot from 2025-09-24 10-22-08.png

Screenshot from 2025-09-24 10-22-19.png

After rebuilding:

Screenshot from 2025-09-24 10-23-54.png

Possibly you'd want to rebuild after other git actions like pull, too