I have a terminal that logs on a file linked in my app /storage/logs/output.log.
I have no problem displaying it inside my view, the only problem is that I want the content of this file to update dynamically, without doing a setTimeOut() every X seconds like a tail -f.
I thought of using an event system, like cat, but I don't know how to manage it.
Can you help me ?
Thanks