Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sergeybruhin/a5583b3a3d91468c73769ac5c4c90e25 to your computer and use it in GitHub Desktop.
Save sergeybruhin/a5583b3a3d91468c73769ac5c4c90e25 to your computer and use it in GitHub Desktop.
var browserSync = require("browser-sync");
var bs1 = browserSync.create("proxy1");
var bs2 = browserSync.create("proxy2");
bs1.init({
proxy: "http://mylocal.dev",
port: 3010,
ui: {
port: 3011
}
});
bs2.init({
proxy: "http://mylocal.dev",
port: 3012,
ui: {
port: 3013
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment