Skip to content

Remove skipping of spring-boot-* projects when determining what is eligible for DevTools restart #23158

@wilkinsona

Description

@wilkinsona

Prompted by #3315 (comment), I think we should review DevTools' restart excludes and make them more apparent at runtime.

The current defaults are a little odd as they're tailored towards Spring Boot's development, ignoring …/target/classes in 2.2.x which is built with Maven and …/build in 2.3.x which is built with Gradle. The behaviour that users see shouldn't be affected by the build system used to build Boot itself so it feels like we should either remove these default excludes or alter them so that they don't only apply to a particular build system.

When excludes have been applied – particularly when they leave you with no changeable URLs, and, therefore, no restart – it's not obvious that's what has happened. We should look at improving the logging somehow to help users to identify why changes to their application are having no effect.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions