mirror of
https://github.com/Matir/skel.git
synced 2026-05-26 05:29:09 -07:00
Add jekyll dev command.
This commit is contained in:
@@ -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 "$@"
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user