diff --git a/integrations/intellij/src/main/kotlin/com/previewjs/intellij/plugin/services/ProjectService.kt b/integrations/intellij/src/main/kotlin/com/previewjs/intellij/plugin/services/ProjectService.kt index 117e4d5c42d..dddc3d10b04 100644 --- a/integrations/intellij/src/main/kotlin/com/previewjs/intellij/plugin/services/ProjectService.kt +++ b/integrations/intellij/src/main/kotlin/com/previewjs/intellij/plugin/services/ProjectService.kt @@ -129,9 +129,6 @@ class ProjectService(private val project: Project) : Disposable { file: VirtualFile, ) { val textEditor = source.allEditors.find { it.file == file } as? TextEditor ?: return - if (textEditor.file != file) { - return - } recrawlFile(file, textEditor.editor.document.text) }