I know there is tail which tracks if anything has been appended to a file.
I also know its possible to do using vim :w !diff % -
Is there something similar which tracks if anything is modified in a text file and prints it out.
To clarify is the something similar to tail but the change within the file might be anywhere. (Rather than me having to run vim everytime.)
you could try
watch -d cat file.See
man watchfor more information.