'jekyll build' vs 'bundle exec jekyll build'?

Pro tip…

Jekyll also has alias commands builtin:

jekyll b  # ie build
jekyll s  # ie serve

See jekyll --help

I like to use a Makefile. Works on mac and linux and also windows if you install GNU Make command.

s serve:
  bundle exec jekyll serve --trace --livereload
make s
# serving jekyll site...

My file:

And i also alias make as m so I can do

m s
1 Like