diff --git a/client/README.md b/client/README.md index 3c2c1b355..2f0a3f2b6 100644 --- a/client/README.md +++ b/client/README.md @@ -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. diff --git a/client/gulpfile.js b/client/gulpfile.js index 2b0a72566..92f2c8491 100644 --- a/client/gulpfile.js +++ b/client/gulpfile.js @@ -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() {