hexo-browser-sync

BrowserSync plug-in for Hexo.

Usage no npm install needed!

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

README

hexo-browser-sync NPM version

BrowserSync plug-in for Hexo.

BrowserSync - Time-saving synchronised browser testing.

Install

$ npm i hexo-browser-sync --save

Usage

When you run hexo server, this plugin will be started automatically.

Options

You can configure the plug-in in _config.yml.

browser_sync:
  port: 3000
  browser: "google chrome"
  open: false

Check BrowserSync options for more information.