#LINUX
Refresh browser on save with inotify and xdotool
Posted on
August 17, 2010
in
linux ·
til
Simple Bash script takes a file path, opens it in a browser (defaults to google-chrome), then uses inotifywait to watch the file and xdotool to simulate a Ctrl+R refresh whenever the file changes, restoring focus to the previously active window. Read More