Endpoints Not Reflecting GIT Updates

Product: PowerShell Universal
Version: 5.6.8

It seems that when PSU is configured for GIT syncs, updates for API endpoints are not reflected when GIT runs a sync.

For instance, if I update the actual endpoint code in .endpoints, that is not reflected.

New-PSUEndpoint -Url "/api/Build/:Id" -Method @('GET') -Authentication -Role @('BuildAdmin','Administrator') -Path "D:\PSU\Repository\endpoints\api_Build.ps1" -Environment "Windows PowerShell 5.1" 

Updated to include PATCH

New-PSUEndpoint -Url "/api/Build/:Id" -Method @('GET','PATCH') -Authentication -Role @('BuildAdmin','Administrator') -Path "D:\PSU\Repository\endpoints\api_Build.ps1" -Environment "Windows PowerShell 5.1" 

But the interface still shows it not having that method. It also reflects the old code if you look at the code for the endpoint, but the files in the repository show the updated code. Doing things against the endpoint also show the old behavior.

The only solution I have found is restarting the service.

Is it expected that you have to restart the service/run an iisreset to update endpoints (either the configuration of the endpoint or the backing code)?

Note, that I’m able to reproduce this on 2 PSU instances (running on different servers), though, they are using the same GIT source, just different branches.