shelljs icon indicating copy to clipboard operation
shelljs copied to clipboard

feat: tail -f option

Open nfischer opened this issue 5 years ago • 1 comments

Originally filed in https://github.com/shelljs/shx/issues/172

We should support shell.tail('-f', ...). We would need to "follow" the file as it grows - basically, tail('-f') would never terminate. This isn't super useful in a programmatic context, but would be more useful in shx.

@martin-braun

nfischer avatar Feb 03 '20 21:02 nfischer

I'm the author of the original issue on shx. The main reason why I opened it is, that It would be great for npm commands to be able listen to a debug file for cross-platform code that is not executed via debugger.

martin-braun avatar Feb 04 '20 12:02 martin-braun