A workaround for VFS synchronization problem

This commit is contained in:
Andrey Breslav
2012-06-01 22:58:44 +04:00
parent 4014855137
commit 0c916698b8
@@ -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;
}