Is there any way to programmatically observe the changes to a text file in terms of "new lines added"?
Basically the same as tail -f but without using any libraries to provide this feature.
tail -f