I am trying to visualize some data, and my program outputs a png file. Each time when I modify my program, the output png file changes. So I hope to have an image viewer that can automatically reload the png file once it detects that the png file has changed on disk.
I have tried
viewnior, but none of them supports auto reload/refresh the image file. Can you suggest a better image viewer?
inotify is a good tool that should be able to do this, but I am not sure how to use it.