Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/envygeeks/jekyll-reload
Autoreload for Jekyll sites, speeding up prototyping
https://github.com/envygeeks/jekyll-reload
jekyll livereload prototyping user-interface
Last synced: 3 months ago
JSON representation
Autoreload for Jekyll sites, speeding up prototyping
- Host: GitHub
- URL: https://github.com/envygeeks/jekyll-reload
- Owner: envygeeks
- License: apache-2.0
- Archived: true
- Created: 2017-11-29T23:38:26.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-12-26T16:31:42.000Z (almost 7 years ago)
- Last Synced: 2024-09-24T03:01:48.941Z (3 months ago)
- Topics: jekyll, livereload, prototyping, user-interface
- Language: Ruby
- Homepage: https://rubygems.org/gems/jekyll-reload
- Size: 58.6 KB
- Stars: 9
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: .github/codeowners
Awesome Lists containing this project
README
[![Code Climate](https://img.shields.io/codeclimate/maintainability/anomaly/jekyll-reload.svg?style=for-the-badge)](https://codeclimate.com/github/anomaly/jekyll-reload/maintainability)
![Gem Version](https://img.shields.io/gem/v/jekyll-reload.svg?style=for-the-badge)
![Gem DL](https://img.shields.io/gem/dt/jekyll-reload.svg?style=for-the-badge)# 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
```ruby
gem "jekyll-reload", {
group: "jekyll-plugins"
}
```### In your Layout ``
#### W/ Jekyll-Assets```html
{% asset livereload.js %}
```#### Vendor
```html
{% livereload %}
```#### Addon
1. Download the [Browser Plugin](https://chrome.google.com/webstore/detail/livereload/jnihajbhpnppcggbcgedagnkighmdlei)
2. Click to enable.## Config
```yaml
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.***