Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Browser-sync doesn't quit #2095

Open
8 tasks
paulmist opened this issue Dec 19, 2024 · 0 comments
Open
8 tasks

Browser-sync doesn't quit #2095

paulmist opened this issue Dec 19, 2024 · 0 comments

Comments

@paulmist
Copy link

Issue details

I'm launching browser-sync via Gulp. When I ctrl-c to stop it it does appear to stop, but then when I launch again the port number increases as if it's still running (localhost:3000 increases to localhost:3002, then 3004 and so on).

If I quit my terminal it quits browser-sync as expect and the ports reset.

Please specify which version of Browsersync, node and npm you're running

  • Browsersync [ 3.0.3 ]
  • Node [ 14.17.1 ]
  • Npm [ 9.7.1 ]

Affected platforms

  • linux
  • windows
  • [ x ] OS X
  • freebsd
  • solaris
  • other (please specify which)

Browsersync use-case

  • API
  • [ x ] Gulp
  • Grunt
  • CLI

for all other use-cases, (gulp, grunt etc), please show us exactly how you're using Browsersync

function browserSync(done) {
	browsersync.init({		
		
		proxy: 'https://examplemampaddress',
		port: 3000,
		open: false

	});
	done();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant