Skip to content

Commit bc4f342

Browse files
Enable automated build through the devtools dependency
1 parent 8c942fc commit bc4f342

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

pom.xml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,13 @@
8282
<version>2.4.0</version>
8383
</dependency>
8484

85+
<!-- hot swapping, enable live reload -->
86+
<!-- It would be automatically disabled in production environments -->
87+
<dependency>
88+
<groupId>org.springframework.boot</groupId>
89+
<artifactId>spring-boot-devtools</artifactId>
90+
<optional>true</optional>
91+
</dependency>
8592
</dependencies>
8693

8794
<build>
@@ -91,11 +98,8 @@
9198
<artifactId>spring-boot-maven-plugin</artifactId>
9299
</plugin>
93100
</plugins>
94-
95-
96101
</build>
97102

98-
99103
<repositories>
100104
<repository>
101105
<id>spring-snapshots</id>
@@ -118,6 +122,4 @@
118122
</pluginRepository>
119123
</pluginRepositories>
120124

121-
122-
123125
</project>

0 commit comments

Comments
 (0)