Skip to content

Instantly share code, notes, and snippets.

@Caffe1neAdd1ct
Created August 12, 2015 21:05
Show Gist options
  • Save Caffe1neAdd1ct/f38b172f7c9b31ae5ace to your computer and use it in GitHub Desktop.
Save Caffe1neAdd1ct/f38b172f7c9b31ae5ace to your computer and use it in GitHub Desktop.
Jekyll Watcher For Netbeans Projects
#!/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