-
-
Save incanus/1304999 to your computer and use it in GitHub Desktop.
Bash script to kill old Jekyll processes, start a new one in the current directly, and open the browser to it.
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
#!/bin/sh | |
ps ax | grep jekyll | grep -v grep | awk '{ print $1 }' | xargs kill | |
jekyll & | |
sleep 1 | |
open http://localhost:4000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment