Skip to content

Instantly share code, notes, and snippets.

@martinisoft
Created November 12, 2009 05:47
Show Gist options
  • Save martinisoft/232635 to your computer and use it in GitHub Desktop.
Save martinisoft/232635 to your computer and use it in GitHub Desktop.
kick Safari when you edit html files for instant previews
kicker -e "osascript -e 'tell application \"Safari\" to do JavaScript \"window.location.reload();\" in first document'" index.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment