-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
index.html change but doesn't have any auto refreshing must to manual refresh #850
Comments
That seems like something you would have to program yourself because it would require client-side scripting. Once a server sends a webpage, it stops communicating with the client until the client makes another request. Therefore, the server can't tell your browser that index.html has changed unless you send a request yourself. |
So what are the chances of the http-server binary adding support for a custom handler? Looking at Basically what I'd like is something like: $ http-server --before ./my_handler And then we'd implement various functions in
If you'd be open to such a PR, I'll give it a go. |
Very low. This project had no merged PRs for a year. Also this issue is a duplicate of #446 (though your proposed solution is more generic). |
This issue has been inactive for 180 days |
Environment Versions
Expected result
Actual result
The text was updated successfully, but these errors were encountered: