Alias to start Jekyll Service
Here is a simple alias that starts the Jekyll service, and opens a browser.
alias jekserve='cd *your website directory* && Jekyll serve & sleep 2 && open http://0.0.0.0:4000/'
the command, cd's to your website directory, starts the Jekyll service, waits a couple of seconds (whilst it renders), and opens localhost on port 4000 (the default server for Jekyll).
- ← Previous
Bash Script to generate a post header - Next →
Timing, Forget the Timing