How can I refresh in Idea's editor a recently modified file?

I just wrote a small plugin which makes some modifications on java files. The problem is that this modifications are visible just if I'm restarting Idea or close and reopen the modified file. Is there any way I can refresh the modified java file (or any other text file) on the fly? (The current opened file is the modified file and I want to see the modifications without closing and reopening the file)

Thank you

Please sign in to leave a comment.