bs-snippet-injector
Write & Remove the BrowserSync Snippet to a file (Fork from https://www.npmjs.com/package/bs-snippet-injector to support Browser Sync 2)
This is an alternative to using the BrowserSync proxy.
Install
$ npm install browser-sync bs-snippet-injector
Example
// requires version 1.3.3 of BrowserSync or higher.var browserSync = ; // register the pluginbrowserSync; // now run BrowserSync, wathching CSS files.;