Created
June 8, 2015 17:21
-
-
Save vl4dt/5b3a6c7ec6741d31f1a7 to your computer and use it in GitHub Desktop.
Browser Sync: sample config file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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