Socket.io Delays to Emit Events
I have been noticing this for several days now while working on a project. After I define a new event and a listener for socket.io, and I run the program, the event never happens. There is no error in the code. I check it multiple times, but the problem still exists. After a while, I give up, and the next day, I come back to find that the program works. There was no change in the code. This happened multiple times. Is anyone else also having this problem? If so, does anybody know how to fix it?