From 26685dfadbcb8f8fb45a87861f689dc04cd0cd4e Mon Sep 17 00:00:00 2001 From: David Tomaschik Date: Mon, 16 Apr 2018 11:59:39 -0700 Subject: [PATCH] Add jekyll dev command. --- dotfiles/zprezto_custom/jekyll/init.zsh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dotfiles/zprezto_custom/jekyll/init.zsh b/dotfiles/zprezto_custom/jekyll/init.zsh index 2c3fb34..9e3425a 100644 --- a/dotfiles/zprezto_custom/jekyll/init.zsh +++ b/dotfiles/zprezto_custom/jekyll/init.zsh @@ -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 "$@" ;;