FPtje / vscode-semaphore-ci

Unofficial VS Code extension for interacting with Semaphore CI
https://marketplace.visualstudio.com/items?itemName=FPtje.semaphoreci
Creative Commons Zero v1.0 Universal
5 stars 0 forks source link

Auto detect branch switching #3

Closed JottiA closed 2 years ago

JottiA commented 2 years ago

Currently when switching active branch, we need to manually refresh the tree by runningsemaphore-ci.refreshTree. It would be great if the extension could detect branch switching and auto refresh the tree.

Also related to https://github.com/FPtje/vscode-semaphore-ci/issues/1

FPtje commented 2 years ago

This has been released in version 0.1.0! :tada:

The tree now refreshes every 5 seconds. If you change branches, you should see a change within about 5 seconds. It is possible to change the refresh delay in the semaphore-ci settings if desired.

FPtje commented 2 years ago

Due to some odd quirk, this feature does not work in 0.1.0. I think the cause for that is that I didn't build before packaging, causing it to package an old version. This should be fixed in 0.1.1.