0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
Reload your content when Jekyll finishes building.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 3.5
 Project Readme

Code Climate Gem Version Gem DL

Jekyll Reload

Jekyll Reload is a modern, simple, and to the point take on LiveReload for Jekyll. There is no adding of scripts to your source, there is just using LiveReload, and booting your site with the server in development, and then having your browser connect to the LiveReload after your site becomes available to browser (most of the time this will be automatic if you've already enabled LiveReload for the port before).

Usage

gem "jekyll-reload", {
  group: "jekyll-plugins"
}

In your Layout <head>

W/ Jekyll-Assets

{% asset livereload.js %}

Vendor

{% livereload %}

Addon

  1. Download the Browser Plugin
  2. Click to enable.

Config

reloader:
  error_file: nil
  host: Jekyll::Site#config["host"]
  port: 35729

The Reloader can return an error page, if you designate one, this is will allow you to customize the error message you see in development, or to serve up your standard error page for consistency, if you want. It should be the relative path from your source, and part of Jekyll.