Skip to content

Commit

Permalink
Fix WebView disconnecting in debug mode when laptop goes to sleep (#999)
Browse files Browse the repository at this point in the history
This PR fixes an issue when webview is disconnecting, when laptop goes
sleep. It happens only on development setup. The solution is based on
this thread: https://stackoverflow.com/a/73560133

### How Has This Been Tested: 

- Run Radon IDE 
- Close MacBook lid 
- Open it back
- The Radon IDE webview should be working as usuall
  • Loading branch information
maciekstosio authored Mar 1, 2025
1 parent efc1808 commit 3d69569
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vscode-extension/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export default defineConfig({
server: {
port: 2137,
hmr: {
host: "localhost",
host: "127.0.0.1",
},
},
});

0 comments on commit 3d69569

Please sign in to comment.