We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5e09cb commit 4fd9052Copy full SHA for 4fd9052
src/index.ts
@@ -143,6 +143,12 @@ async function activate(
143
gitExtension.pathRepository = change.newValue;
144
}
145
);
146
+
147
+ // Whenever the `HEAD` of the Git repository changes, refresh the file browser
148
+ gitExtension.headChanged.connect(() => {
149
+ filebrowser.model.refresh();
150
+ });
151
152
// Whenever a user adds/renames/saves/deletes/modifies a file within the lab environment, refresh the Git status
153
app.serviceManager.contents.fileChanged.connect(() =>
154
gitExtension.refreshStatus()
0 commit comments