changed browserSync port from 3000 to 4042

This commit is contained in:
David Kaltschmidt
2015-06-16 16:24:47 +02:00
parent 65d79d2908
commit 82d622b164
2 changed files with 11 additions and 2 deletions

View File

@@ -4,7 +4,7 @@
- Setup: `npm install`
- Build: `gulp build --release`, output will be in `build/`
- Develop: `gulp sync` and then open `http://localhost:3000/`
- Develop: `gulp sync` and then open `http://localhost:4042/`
To see a topology, `../app/app` needs to be running, as well as a probe.

View File

@@ -129,9 +129,18 @@ gulp.task('sync', ['serve'], function(cb) {
// Note: this uses an unsigned certificate which on first access
// will present a certificate warning in the browser.
https: false,
// Will not attempt to determine your network status, assumes you're OFFLINE
online: false,
port: 4042,
// Informs browser-sync to proxy our Express app which would run
// at the following location
proxy: 'localhost:4041'
proxy: 'localhost:4041',
// dont refresh immediately after successive changes
reloadDebounce: 2000,
// browserSync webapp
ui: {
port: 4043
}
}, cb);
process.on('exit', function() {