node package manager

hexo-browsersync

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

You can check BrowserSync options for more info.

N.B.: logSnippet is disabled by default.

License

MIT