@Craig_webber, when I discard changes in Git for a project and want to restore the original code in the Designer, I first trigger a project scan to update the Gateway.
There are two ways to do this in v8.3:
- Use the API:
<ip>:<port>/data/api/v1/scan/projects
- Call the system function to rescan the project folder:
system.project.requestScan([timeout])
Once the rescan completes, click the Merge Changes from Gateway button in the Designer (see screenshot below).
This pulls the updated code from the Gateway into the Designer—no container restart required. I hope this helps
!
