microsoft / vscode-azurestaticwebapps

Azure Static Web Apps extension for VS Code
https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azurestaticwebapps
MIT License
86 stars 33 forks source link

Successfully deleted SWA still appears in the Resources view #783

Closed motm32 closed 1 year ago

motm32 commented 1 year ago

V2 forward compatibility testing

After deleting a SWA and receiving a Delete Static Web App... succeeded Activity Log the SWA still appears in the tree view. Once you refresh, the SWA disappears as expected.

alexweininger commented 1 year ago

If this is the only bug for forward compatibility then I'm happy. Since I hope users first instinct will be to use the refresh button if they encounter this.

However, I do want to make sure that created SWAs appear automatically, and also things like added App Settings.

alexweininger commented 1 year ago

I checked Virtual Machines and this issue reproduces there too. I think I can fix this easily by adding some compat shim stuff in RGs

alexweininger commented 1 year ago

Fixed by https://github.com/microsoft/vscode-azureresourcegroups/pull/529