Autoread does not work correctly. The following works for me:
You need to first install the script from here.
I got the best results by calling the setup function directly, like so.
let autoreadargs={'autoread':1}
execute WatchForChanges("*",autoreadargs)
The reason for this, is that I want to run a ipython/screen/vim setup.
You can easily convert this into an enhanced version of view.
script the process..
mkdir -p ~/bin
cat <<`OUT` > ~/bin/vimviewer
#!/usr/bin/env sh
exec vim -n --cmd "source /home/bryan/.vim/.vimrc.watchforchanges | let autoreadargs={'autoread':1} | execute WatchForChanges('*',autoreadargs)" $@
`OUT`
chmod 755 ~/bin/vimviewer
vimview test.txt
1I think this is what you mean, but my specific use case is when I check out a different git branch or commit, I want vim to reload the file. – Nathan Long – 2016-02-12T18:56:07.083