I have a small application, which streams a lot of lines via stdout. After 30 minutes, my disk is full. Any ideas how I can stream the stdout to a file and "tail" it is the same time on another application?
Currently, I have to push the stdout to a file, but it increases a lot
node app.js>/tmp/p
tail -f /tmp/p
but with this, I have a disk problem any ideas would be awesome