@vincent15000 Show code.
Help to understand why an event seems not to be dispatched
Hello,
I have a function in which I dispatch an event.
I have created 2 identical events : the first one was created some weeks ago and the second one has been created yesterday.
These events are dispatched to a websocket and I listen for them in a pinia store in the front (VueJS).
To check if the listener works, I have a simple console.log('ok');.
If I use the first event, I see "ok" in the console.
If I use the second event, I don't see "ok" in the console.
That's very strange because both events are identical, unless the event name.
I have binded the channel to the new event name exactly like for the first one.
I have cleared the caches, I have regenerated the manifest, ... I think to have done all what I can, but it doesn't work better. I'm searching for a solution for 3 hours, but it doesn't work, despite all attemps.
What do you suggest me to check in my code ? What do you suggest me to do ?
Thanks for your help.
V
@martinbean I had only forgotten to implement the event with ShouldBroadcastNow.
Please or to participate in this conversation.