Skip to content

Instantly share code, notes, and snippets.

@montlebalm
Last active June 28, 2017 22:36
Show Gist options
  • Save montlebalm/c830cb937508cbb1d631c24d12bd083e to your computer and use it in GitHub Desktop.
Save montlebalm/c830cb937508cbb1d631c24d12bd083e to your computer and use it in GitHub Desktop.
VS Code - Reload Chrome
[
{
"key": "cmd+r cmd+r",
"command": "workbench.action.tasks.runTask",
"args": "Reload Chrome"
}
]
if application "Google Chrome" is running then
tell application "Google Chrome" to reload active tab of front window
end if
{
"version": "0.1.0",
"tasks": [
{
"taskName": "Reload Chrome",
"command": "osascript",
"args": ["<PATH TO reload-chrome.applescript>"],
"isShellCommand": true,
"showOutput": "never",
"suppressTaskName": true,
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment