npm install && npm start
[examples/chat] Make the example autonomous
[examples/chat] Add disconnect/reconnect logs
Why make it autonomous? Is it to make compilation easier for beginner devs or some other reason?
Deffo a 👍 for the extra events though 😄
@MaffooBristol yes, it feels easier to run it as a standalone (to me). It may be a bit superfluous though.
Hmm, maybe. But then is it not better for the examples to be entirely tied to the current source version rather than npm's version? Also it means that anyone editing the source can see whether it breaks the chat example, as a form of testing? Just not sure if I think it's the best idea personally.
maybe in package.json
It's better to change start command to node index.js to specify file name.
The remaining parts are good!!!
revert autonomous change