Skip to content

Instantly share code, notes, and snippets.

@bitc
Created April 7, 2015 18:47
Show Gist options
  • Save bitc/c885e8f3875379feab01 to your computer and use it in GitHub Desktop.
Save bitc/c885e8f3875379feab01 to your computer and use it in GitHub Desktop.
#!/bin/sh
HOST=192.168.0.1
PORT=32000
(echo 'window.location.reload()' | nc $HOST $PORT) > /dev/null 2>&1 &
echo 'Browser Reload'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment