Created
August 12, 2015 21:05
-
-
Save Caffe1neAdd1ct/f38b172f7c9b31ae5ace to your computer and use it in GitHub Desktop.
Jekyll Watcher For Netbeans Projects
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/zsh | |
if [ -z "$1" ] | |
then | |
echo "Please specify the project you wish to watch with jekyll watch e.g ./Scripts/jekyll-blog projectname" | |
else | |
cd ~/Software/Jekyll/ | |
nohup ~/.rbenv/shims/bundle exec jekyll build --source ~/NetBeansProjects/$1/ --destination ~/NetBeansProjects/$1/_site --watch 1>&2 & | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment