Skip to content

Instantly share code, notes, and snippets.

@vl4dt vl4dt/app.js
Created Jun 8, 2015

Embed
What would you like to do?
Browser Sync: sample config file
/**
* Require Browsersync
*/
var browserSync = require('browser-sync');
/**
* Run Browsersync with server config
*/
browserSync({
browser: [
"C:/Program Files (x86)/Google/Chrome/Application/chrome.exe",
"chrome", // Google Chrome Canary
"firefox"
],
https: false,
proxy: {
target: "http://global3.laureate.net",
middleware: function (req, res, next) {
console.log(req.url);
next();
}
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.