Skip to content
New issue

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

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

Already on GitHub? # to your account

BrowserSync reloads the page displaying index.html even though I trigger a reload for the file other.html #2056

Open
ericmorand opened this issue Dec 5, 2023 · 0 comments

Comments

@ericmorand
Copy link

  • BrowserSync 2.29.3.

I have two files in the directory served by BrowserSync under the port 3000: index.html and other.html.

Assuming my browser displays the page at the URL http://localhost:3000/index.html, reloading other.html actually triggers a reload of the currently displayed browser page:

browserSyncInstance.reload('other.html');

I expect that it doesn't reload at all since the displayed URL is not served by the file that I requested BrowserSync to reload.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant