Reload Chrome tab with a global shortcut
Apple Script to reload current tab in chrome:
tell application "Google Chrome"
reload active tab of window 1
end tell
I bind it to a global shortcut in Alfred (this requires wrapping in alfred_script
callback. Also I'm using Canary for previewing site in development so application name is adjusted:
on alfred_script(q)
tell application "Google Chrome Canary"
reload active tab of window 1
end tell
end alfred_script
If you want reloading automatically on file changes there's LiveReload and plenty alternatives software.
Written by Wojtek Kruszewski
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Chrome
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#