mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-03 02:00:43 +00:00
changed browserSync port from 3000 to 4042
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user