Add jekyll dev command.

This commit is contained in:
David Tomaschik
2018-04-16 11:59:39 -07:00
parent 0b327577e7
commit 26685dfadb

View File

@@ -90,6 +90,7 @@ function jekyll {
echo " post Create a new post to publish immediately."
echo " publish Publish a draft post by name."
echo " edit Edit a post."
echo " dev Run local server with drafts and incremental."
;;
draft)
if [ -z "${SLUG}" ] ; then
@@ -139,6 +140,9 @@ function jekyll {
fi
${EDITOR} "${FILENAME}"
;;
dev)
command jekyll serve -D -I "$@"
;;
*)
command jekyll "$@"
;;