Skip to content

Commit 8497491

Browse files
authored
Merge pull request #14985 from apache/forge-reloading-feature
Make reloading feature switch between options
2 parents 3ca5358 + 28aeb98 commit 8497491

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

grails-forge/grails-forge-core/src/main/java/org/grails/forge/feature/reloading/SpringBootDevTools.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public boolean isVisible() {
6161

6262
@Override
6363
public boolean shouldApply(ApplicationType applicationType, Options options, Set<Feature> selectedFeatures) {
64-
return true;
64+
return selectedFeatures.stream().noneMatch(f -> f instanceof ReloadingFeature);
6565
}
6666

6767
@Override

0 commit comments

Comments
 (0)