Using livereload for gem-based Jekyll theme development.
npm install -g jekyll-dev
Create a jekyll site and a theme:
## create a site named jekyll-site
jekyll new jekyll-site
## create a theme named jekyll-theme-sample
jekyll new-theme jekyll-theme-sample
Add the theme to your site's Gemfile
## replace default theme `gem "minima", ...`
gem "jekyll-theme-sample", :path => "../jekyll-theme-sample"
Add the following to your site's _config.yml
to activate the theme:
## replace default `theme: minima`
theme: jekyll-theme-sample
Start to develop:
cd jekyll-site
jekyll-dev
Notice: You may need to tweak your site and theme to solve some console errors. See
sample/
of this repository.
MIT