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

How do we stop it from reloading when the window is unfocused (blur) #2058

Open
10 tasks
trusktr opened this issue Dec 27, 2023 · 0 comments
Open
10 tasks

How do we stop it from reloading when the window is unfocused (blur) #2058

trusktr opened this issue Dec 27, 2023 · 0 comments

Comments

@trusktr
Copy link

trusktr commented Dec 27, 2023

Issue details

The app keeps refreshing even when I don't change any files. It refreshes when I unfocus the window. How can we stop it from doing that?

Steps to reproduce/test case

Please provide necessary steps for reproduction of this issue, or better the
reduced test case (without any external dependencies)
.

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

  • Browsersync [ 2.27.11 ]
  • Node [ ]
  • Npm [ ]

Affected platforms

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

Browsersync use-case

  • API
  • Gulp
  • Grunt
  • CLI

If CLI, please paste the entire command below

{cli command here}

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

These are my options:

	{
		port: 54321,
		ui: {port: 54322},
		cors: true,
		watch: true,
		server: {baseDir: '.'},
	},

It keeps refreshing then I lose my state and have to re-do my actions to get back where I was.

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