mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
do not handle expensive VFS events in test mode
This commit is contained in:
@@ -278,7 +278,7 @@ public class BuildManager implements Disposable {
|
||||
conn.subscribe(VirtualFileManager.VFS_CHANGES, new BulkFileListener.Adapter() {
|
||||
@Override
|
||||
public void after(@NotNull List<? extends VFileEvent> events) {
|
||||
if (shouldTriggerMake(events)) {
|
||||
if (!IS_UNIT_TEST_MODE && shouldTriggerMake(events)) {
|
||||
scheduleAutoMake();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user