neutrino-middleware-browser-sync
v2.1.0
Published
Neutrino middleware for BrowserSync
Downloads
8
Maintainers
Readme
Neutrino middleware with BrowserSync
neutrino-middleware-browser-sync
is a Neutrino middleware that adds
BrowserSync support.
Requirements
- Node.js v6 LTS, v8, v9
- Yarn v1.2.1+, or npm v5.4+
- Neutrino v8
Installation
Yarn
❯ yarn add --dev neutrino-middleware-browser-sync
npm
❯ npm install --save-dev neutrino-middleware-browser-sync
Documentation
Install this middleware to your development dependencies, then set it in
.neutrinorc.js
:
module.exports = {
use: [
'neutrino-middleware-browser-sync', {
browserSyncOptions: {
port: 4000
},
pluginOptions: {
reload: false
}
}
]
}