Created
October 12, 2010 20:18
-
-
Save tvandervossen/622829 to your computer and use it in GitHub Desktop.
Reload browser on save Kicker recipe
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
process do |files| | |
execute("osascript -e 'tell application \"WebKit\" | |
do JavaScript \"window.location.reload()\" in first document | |
end tell'") | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
LiveReload is more advanced solution. It can update CSS without reloading the whole page.