Add live reloading to your Jekyll development using Browsersync.
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
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
git checkout -b feature/my-awesome-feature
)git commit -am 'Add some feature'
)git push origin feature/my-awesome-feature
)