BrowserSync plugin for Hexo.
JavaScript
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib Add support for named instances Jul 3, 2018
test
.gitignore upgrades and testing (#19) Nov 27, 2017
.jshintrc upgrades and testing (#19) Nov 27, 2017
.npmignore First commit Jan 31, 2015
.travis.yml
LICENSE
README.md Add support for named instances Jul 3, 2018
appveyor.yml First commit Jan 31, 2015
index.js
package.json 0.3.0 Dec 5, 2017

README.md

hexo-browsersync

BrowserSync plugin for Hexo.

Installation

$ npm install hexo-browsersync --save

Usage

hexo-browsersync is transparent. Once installed, just run hexo-server as you usually do, and you will benefit from the features from browsersync.

Options

BrowserSync options are supported inside _config.yml file, e.g.:

browsersync:
  logLevel: "warn"
  ghostMode:
    scroll: true
  instanceName: "uniqueString"

You can check BrowserSync options for more info.

N.B.: logSnippet is disabled by default. Also, instanceName allows you to create a named instance. The default value is undefined (anonymous instance).

License

MIT