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.
I have two files in the directory served by BrowserSync under the port 3000:
index.html
andother.html
.Assuming my browser displays the page at the URL
http://localhost:3000/index.html
, reloadingother.html
actually triggers a reload of the currently displayed browser page: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.