Created
May 5, 2016 12:48
-
-
Save sergeybruhin/a5583b3a3d91468c73769ac5c4c90e25 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
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