Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

hexo-browsersync

Build Status NPM version Build status Coverage Status

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

You can’t perform that action at this time.