I know how to refresh NERDTree manually hitting R when focus is in the NERDTree column.
I would like this done automatically.
If an event is needed to trigger this, let it be "whenever writing a file".
Someone suggests adding this to vimrc
nmap <Leader>r :NERDTreeFocus<cr>R<c-w><c-p>
to map this to a key.
The solution could be a combination of this and autocmd.