JEKYLL_SERVE(1)

πŸ’– JEKYLL_SERVE β€” the bestie manual page πŸ’–

okay so real talk: this is the jekyll_serve manual page, part of the Jekyll family of docs. Jekyll is a blog-aware, static site generator β€” yes she builds whole sites out of vibes and Markdown, and yes she's iconic for it. πŸŽ€

This page is specifically about the serve subcommand, aka the one that spins up a local server so you can actually look at your site instead of just trusting the process. πŸ‘‘


✨ USAGE ✨

jekyll { s | serve | server } [options...]

three ways to say the same thing, pick whichever one feels most main-character to you 🫢


🌸 OPTIONS 🌸

bestie listen. the serve command supports all the options of the build command β€” yes, all of them β€” plus these extra ones just for serving. so if you're looking for something and it's not here, go read jekyll-build(1), she has it. πŸ’…

  • -H, --host [HOST] β€” the local server hostname she should listen to. default is 127.0.0.1 or localhost. 🏠
  • -P, --port [PORT] β€” the local server port to bind to. default is 4000. no cap. πŸ”’
  • --ssl-cert [CERT] β€” the X.509 (SSL) certificate. that's the fancy security paper. πŸ“œ
  • --ssl-key [KEY] β€” the X.509 (SSL) private key. keep this one secret, she's the VIP. πŸ”
  • -B, --detach β€” run the server in the background. she's independent, she doesn't need you hovering. πŸ’«
  • --skip-initial-build β€” skip the initial site build that normally happens before the server starts. lowkey a time-saver when you already built. ⏭️
  • -o, --open-url β€” launch the site in a browser. automatic. iconic behaviour. 🌐
  • --show-dir-listing β€” show a directory listing instead of loading the index file. nosy mode, activated. πŸ‘€
  • -l, --livereload β€” use LiveReload to automatically refresh the browser. you edit, she refreshes, you never touch ⌘R again. the way that this just works. πŸ”„
  • --livereload-ignore ignore GLOB1[,GLOB2[,...]] β€” files for LiveReload to ignore. ⚠️ the values must be quoted so the shell won't expand them. like actually, quote them, or your shell will do something unhinged and you'll be confused. πŸ™ˆ
  • --livereload-min-delay [SECONDS] β€” minimum reload delay. patience, babe. ⏳
  • --livereload-max-delay [SECONDS] β€” maximum reload delay. okay now she's waited long enough. ⏰
  • --livereload-port [PORT] β€” port for LiveReload to listen on. πŸšͺ

for a list of general options please read the jekyll(1) manual page. she's the mothership. go say hi. πŸ›Έ


πŸ¦‹ SEE ALSO πŸ¦‹

the whole friend group, honestly. πŸ’œ


πŸ‘‘ AUTHOR πŸ‘‘

this manual page was written by Daniel Leidert <dleidert@debian.org>, for the Debian GNU/Linux system β€” but may be used by others. shoutout to Daniel for real, doing the Lord's work. 🫢


and that's the whole page bestie!! Jekyll 3.9, dated 2020-10-30. that's the version, that's the date, and that's your sign-off. go build something cute, you've got this. mwah. πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’