Created
May 27, 2017 15:54
-
-
Save torbjo/d2826e40621fc9b5a6d624fde43ac7f4 to your computer and use it in GitHub Desktop.
Auto-reload browser window when files changes
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
$ 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