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
Hi @lonix1 I can't really answer right now, I need to dig in the codebase. That being said, there's livereload-js you can look at if your need is on the client-side.
@mklabs Thanks, what I'm trying to do is to print "Client connected" or something like that when a client connects. I looked at the code but don't think there is something like that currently (but I'm not sure).
Is there an event / some way to detect when a client connects (browser loads a page that has the script on it)?
I'm using the callback in the
server.listen()
function that tells me that the server is up and running. Are there more events?The text was updated successfully, but these errors were encountered: