void (@NotNull State state) { List<RunConfiguration> configurations = loadConfigurations(state, myProject); myEnabledRunProfiles.clear(); myEnabledRunProfiles.addAll(configurations); if (!configurations.isEmpty()) { activateWatcher(); } }