hexo-browsersync

BrowserSync plugin of Hexo.

Usage no npm install needed!

<script type="module">
  import hexoBrowsersync from 'https://cdn.skypack.dev/hexo-browsersync';
</script>

README

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