yandeu / five-server

⚡ Development Server with Live Reload Capability. (Maintained Fork of Live Server)
https://www.npmjs.com/package/five-server
Other
162 stars 14 forks source link

Adding query params to html file disables live browser reloading #64

Closed realview closed 2 years ago

realview commented 2 years ago

Describe the bug

Query parameters after the HTML file breaks live reloading.

steps to replicate

in VScode create this .fiveserverrc file { "host":"localhost", "open": "index.html?a=b" } click "Go Live" modify and save index.html

results

suggestion

add a query config item, ie:

{ "host":"localhost", "open": "index.html", "query":"?a=b" }

yandeu commented 2 years ago

Thanks for reporting. Should already be fixed :)