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 b4d9e56 commit 14a5dcaCopy full SHA for 14a5dca
src/commands/showPanel.tsx
@@ -40,9 +40,11 @@ export async function showPanel(
40
undefined,
41
context.subscriptions,
42
);
43
-
44
- const iframeUrl = new URL(route ?? "/playground", config.frontendBaseUrl)
45
- .href;
+
+ // Cache-busting: append a short-lived query param so VS Code picks up the latest frontend build.
+ const urlObj = new URL(route ?? "/playground", config.frontendBaseUrl);
46
+ urlObj.searchParams.set("v", String(Date.now()));
47
+ const iframeUrl = urlObj.href;
48
49
setWebviewContent(
50
messageHandler.panel,
0 commit comments