diff --git a/idea/src/org/jetbrains/jet/plugin/quickfix/JsModuleSetUp.java b/idea/src/org/jetbrains/jet/plugin/quickfix/JsModuleSetUp.java index b0516494c0c..b2bc6a2b8fb 100644 --- a/idea/src/org/jetbrains/jet/plugin/quickfix/JsModuleSetUp.java +++ b/idea/src/org/jetbrains/jet/plugin/quickfix/JsModuleSetUp.java @@ -62,6 +62,10 @@ public final class JsModuleSetUp { File file = new File(rootDir, JsModuleDetector.INDICATION_FILE_NAME); if (file.exists()) { notifyInfo("File " + file.getName() + " already exists."); + // If the notification in the editor did not disappear due to + // slow file system events, this will remove the notification + // when the user clicks for the second time + refreshRootDir(project, continuation); return; }