Kill Livereload Server
LRPID=`lsof -n -i4TCP:35729 | grep LISTEN | awk '{print $2}'` if [ $LRPID ] then echo 'Killing LiveReload server (PID: '$LRPID')' kill $LRPID else echo 'Livereload OK' fi