Skip to content

Commit

Permalink
Enable Spring Developer Tools (#2987)
Browse files Browse the repository at this point in the history
* fix master formatting

* enable spring devtools

https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#using.devtools
Signed-off-by: Iliyan Velichkov <velichkov.iliyan@gmail.com>

* finetune devtools

Signed-off-by: Iliyan Velichkov <velichkov.iliyan@gmail.com>

---------

Signed-off-by: Iliyan Velichkov <velichkov.iliyan@gmail.com>
  • Loading branch information
iliyan-velichkov authored Nov 21, 2023
1 parent 3b81dbc commit 267e79a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
8 changes: 7 additions & 1 deletion build/application/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,13 @@
<artifactId>snowflake-jdbc</artifactId>
<version>${snowflake.version}</version>
</dependency>


<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<optional>true</optional>
<version>2.6.13</version>
</dependency>
</dependencies>


Expand Down
5 changes: 4 additions & 1 deletion build/application/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,7 @@ spring.security.oauth2.client.registration.github.clientSecret=${GITHUB_CLIENT_S
terminal.enabled=${DIRIGIBLE_TERMINAL_ENABLED:false}

management.metrics.mongo.command.enabled=false
management.metrics.mongo.connectionpool.enabled=false
management.metrics.mongo.connectionpool.enabled=false

spring.devtools.restart.poll-interval=6s
spring.devtools.restart.quiet-period=5s

0 comments on commit 267e79a

Please sign in to comment.