Skip to content

Commit e017855

Browse files
authored
Update AmazonQLanguageClientImpl.kt
1 parent 1187dc9 commit e017855

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugins/amazonq/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/lsp/AmazonQLanguageClientImpl.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -412,8 +412,8 @@ class AmazonQLanguageClientImpl(private val project: Project) : AmazonQLanguageC
412412
val currPath = Paths.get(path)
413413
if (currPath.startsWith(localHistoryPath)) return
414414
try {
415-
ApplicationManager.getApplication().invokeLater {
416-
VfsUtil.markDirtyAndRefresh(true, true, true, currPath.toFile())
415+
ApplicationManager.getApplication().executeOnPooledThread {
416+
VfsUtil.markDirtyAndRefresh(false, true, true, currPath.toFile())
417417
}
418418
} catch (e: Exception) {
419419
LOG.warn(e) { "Could not refresh file" }

0 commit comments

Comments
 (0)