You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The live-server always reload the unrelated page when I change the file that is unused in page. Suggest:
Use web socket to store every connection loaded resources
When detect file change and socket broadcast all the connections and judge whether change file list in every socket stored file list to determine refresh page.
It would be difficult to store every web socket connected file, I think.
live-server: 1.2.1
nodejs: 10.15.3
Right now, when an html file is changed, server reloads every open page (browser tab):
It does not take the
url
ofws
client into consideration.It should reload only the page that was changed (applies to html files).
Solution: in case html file is edited, send
reload
to only those clients matchingurl
with thechangePath
.The text was updated successfully, but these errors were encountered: