Skip to content

Instantly share code, notes, and snippets.

@manxisuo
Created July 24, 2013 17:32
Show Gist options
  • Save manxisuo/6072676 to your computer and use it in GitHub Desktop.
Save manxisuo/6072676 to your computer and use it in GitHub Desktop.
用来重启jekyll的脚本
#!/bin/sh
cd ~/git/blogger
export tmp=`ps -ef |grep jekyll|head -n1|awk '{print $2}'`
kill -9 $tmp
rm -rf _site
jekyll serve &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment