Skip to content

Instantly share code, notes, and snippets.

@torbjo
Created May 27, 2017 15:54
Show Gist options
  • Save torbjo/d2826e40621fc9b5a6d624fde43ac7f4 to your computer and use it in GitHub Desktop.
Save torbjo/d2826e40621fc9b5a6d624fde43ac7f4 to your computer and use it in GitHub Desktop.
Auto-reload browser window when files changes
$ apt-get install xdotool entr
$ find -name \*.css -or -name \*.html | entr -p xdotool key --window $(xdotool selectwindow) F5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment