Skip to content

Instantly share code, notes, and snippets.

@tvandervossen
Created October 12, 2010 20:18
Show Gist options
  • Select an option

  • Save tvandervossen/622829 to your computer and use it in GitHub Desktop.

Select an option

Save tvandervossen/622829 to your computer and use it in GitHub Desktop.
Reload browser on save Kicker recipe
process do |files|
execute("osascript -e 'tell application \"WebKit\"
do JavaScript \"window.location.reload()\" in first document
end tell'")
end
@NV
Copy link

NV commented Oct 12, 2010

LiveReload is more advanced solution. It can update CSS without reloading the whole page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment