You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What's your configuration for the extension? And can you check if the problem is still there in v2.0.1?
Generally I don't see an "hardReload" action support by Chrome, for example, so for that browser there's no other way that I'm aware of of doing a hard reload than to send "cmd+shift+r" to the actual browser window, which requires temporarily switching focus.
I'm not sure there's anything more the extension could do here.
I looked at this again with fresh eyes and it turns out that the "System Events" is blocked from sending keystrokes
in macOS by default. That's why the focus would change to Chrome, then do nothing else.
The solution is for the user to give access to VSCode and Script Editor to control their computer via the settings in System Settings > Privacy & Security > Accessibility. And then restarting VSCode. After which the hard refresh will fully work by switching focus to the browser, doing a hard refresh, and then switching the focus back to VSCode.
Default refresh works as intended, but force refresh changes the app focus from VSCode to Chrome and doesn't refresh the browser.
Selecting or deselecting the
Keep the focus on the browser
setting seems to have no effect for force refresh.I'm using macOS 14.2.1 and VSCode 1.85.1 on Apple M1.
The text was updated successfully, but these errors were encountered: