Skip to content

Commit 1103930

Browse files
committed
fix: remove await from HMR server check for Windows 10 F5 debugging
🐛 Windows 10 F5 Debug Fix: - Remove await from axios.get() call in HMR server check - Prevents blocking behavior during F5 debugging on Windows 10 - Maintains error handling while improving debugging experience This change specifically addresses F5 debugging issues on Windows 10 where the await was causing unnecessary delays in the development workflow.
1 parent ff50a47 commit 1103930

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/webview/ClineProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ export class ClineProvider extends EventEmitter<ClineProviderEvents> implements
575575

576576
// Check if local dev server is running.
577577
try {
578-
await axios.get(`http://${localServerUrl}`)
578+
axios.get(`http://${localServerUrl}`)
579579
} catch (error) {
580580
vscode.window.showErrorMessage(t("common:errors.hmr_not_running"))
581581

0 commit comments

Comments
 (0)