Don't trigger a full page reload for scanned files that Vite processes as modules (#20336)