Repository is archived
No commit activity in last 3 years
No release in over 3 years
Add live reloading to Jekyll using Browsersync.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.5
~> 10.0

Runtime

>= 3.0.0, < 5.0
~> 0.4.1
 Project Readme

Jekyll Browsersync

Add live reloading to your Jekyll development using Browsersync.

Installation

First install Browsersync:

npm install --save-dev browser-sync
# or globally with
npm install -g browser-sync

Then add this line to your application's Gemfile:

gem 'jekyll-browsersync', group: [:jekyll_plugins]

Finally install it

$ bundle

Usage

Once you have it installed, you'll have a browsersync Jekyll command.

$ bundle exec jekyll browsersync --help

You can pass options to browser sync with --:

$ bundle exec jekyll browsersync -- --no-notify --config browsersync.js

Contributing

  1. Fork it (https://github.com/mloberg/jekyll-browsersync/fork)
  2. Create your feature branch (git checkout -b feature/my-awesome-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin feature/my-awesome-feature)
  5. Create new Pull Request