๊ธฐํƒ€

[ intelliJ ] ์„œ๋ฒ„ ์žฌ๊ฐ€๋™์—†์ด ์ƒˆ๋กœ๊ณ ์นจ ํ›„ ์ฝ”๋“œ ์‹ค์‹œ๊ฐ„ ๋ฐ˜์˜

PYT 2021. 12. 22. 14:18
๋ฐ˜์‘ํ˜•

 

1. gradle์— Dependencies ์ถ”๊ฐ€

developmentOnly("org.springframework.boot:spring-boot-devtools")

 

2. application.yml ์— ์†์„ฑ๊ฐ’ ์„ค์ •

spring:
  devtools:
    livereload:
      enabled: true
    restart:
      enabled: true
  thymeleaf:
    cache: false

 

3. IntelliJ IDEA -> Preferences (๋‹จ์ถ•ํ‚ค Cmd + , ) -> Build, Execution, Deployment -> Compiler์—์„œ 'Build Project automatically' ์— ์ฒดํฌ

 

 

๊ทธ๋Ÿผ intelliJ์—์„œ ์„œ๋ฒ„๋ฅผ ์žฌ๊ฐ€๋™ํ•˜์ง€ ์•Š๊ณ ๋„ ์ƒˆ๋กœ๊ณ ์นจ ๋งŒ์œผ๋กœ ์ˆ˜์ •์‚ฌํ•ญ์„ ๊ธˆ๋ฐฉ ํ™•์ธํ•  ์ˆ˜ ์žˆ๋‹ค. 

๋ฐ˜์‘ํ˜•