Close the files.
Close a project.
Give focus to editor when file changed.
Setup better editor configuration.