Skip to content

Commit

Permalink
fix: Make it less likely to trigger multiple compiles (#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
Artur- authored Nov 6, 2024
1 parent 41907db commit f88b4b6
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ class VaadinCompileOnSaveAction : ActionsOnSaveFileDocumentManagerListener.Actio
val session = DebuggerManagerEx.getInstanceEx(project).context.debuggerSession
if (session != null) {
ReadAction.run<Throwable> {
Thread.sleep(1)
HotSwapUI.getInstance(project).compileAndReload(session, *javaFiles.toTypedArray())
}
}
Expand Down

0 comments on commit f88b4b6

Please sign in to comment.