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
- Fork it (https://github.com/mloberg/jekyll-browsersync/fork)
- Create your feature branch (
git checkout -b feature/my-awesome-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin feature/my-awesome-feature
) - Create new Pull Request