diff --git a/platform/platform-impl/src/com/intellij/openapi/vfs/impl/local/FileWatcher.java b/platform/platform-impl/src/com/intellij/openapi/vfs/impl/local/FileWatcher.java index 20ee724be726..25bd72c1bd0a 100644 --- a/platform/platform-impl/src/com/intellij/openapi/vfs/impl/local/FileWatcher.java +++ b/platform/platform-impl/src/com/intellij/openapi/vfs/impl/local/FileWatcher.java @@ -203,7 +203,7 @@ public class FileWatcher { if (myStartAttemptCount++ > MAX_PROCESS_LAUNCH_ATTEMPT_COUNT) { notifyOnFailure(ApplicationBundle.message("watcher.failed.to.start"), null); - throw new IOException("Can't launch process anymore"); + return; } if (restart) { @@ -245,7 +245,7 @@ public class FileWatcher { } public boolean isSettingRoots() { - return mySettingRoots.get() > 0; + return isOperational() && mySettingRoots.get() > 0; } public static class DirtyPaths {