As an academic, I often have to conduct "numerical experiments" by running a small computer program that outputs to a text file. I use TextEdit to read the text file. However, when I re-run the program, and the contents of the text file changes, I find that the contents in TextEdit do not automatically update to the new version. In order to access the new version, I need to close the existing TextEdit window, and open the file again in TextEdit.
Is there a way to refresh the file to the new version in TextEdit?
For those of you who know about the program Vim, what I am looking for is like the command
:e[dit] in Vim which allows one to
Edit the current file. This is useful to re-edit the current file, when it has been changed outside of Vim.