bitburner-official / bitburner-src

Bitburner source code.
Other
837 stars 273 forks source link

Feature Request: Allow tail to read/ follow txt files #1719

Closed bcox closed 1 month ago

bcox commented 1 month ago

There are a number of times that I would love to log different things in different files. I can do that with file writes, but I can't tail the created files to see updates. It would be amazing if tail could follow a text file as well as a script.

d0sboots commented 1 month ago

This is a great case for writing a simple program (possibly called tail.js) to do what you want; as a program, it will naturally come equipped with a tail log that you can update as your chosen text file (provided as a commandline argument?) changes.

Small utilities like this that are nice-to-have but not absolutely critical are things we tend to leave to players to create.

bcox commented 1 month ago

That is completely fair and in hindsight obvious. Thanks for the response.