์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
- Absolute
- AGI
- ai
- AI agents
- AI engineer
- AI researcher
- ajax
- algorithm
- Algorithms
- aliases
- Array ๊ฐ์ฒด
- ASI
- bayes' theorem
- Bit
- Blur
- BOM
- bootstrap
- canva
- challenges
- ChatGPT
- Today
- In Total
A Joyful AI Research Journey๐ณ๐
230401 ํฌํธํด๋ฆฌ์ค 2์ผ ์ฐจ) ์คํ๋ง ๋ถํธ๋ฅผ ์ธ ๋ css, js ํ์ผ ์ค์๊ฐ ๋ฐ์ํ๊ฒ ๋ง๋ค๊ธฐ ๋ณธ๋ฌธ
230401 ํฌํธํด๋ฆฌ์ค 2์ผ ์ฐจ) ์คํ๋ง ๋ถํธ๋ฅผ ์ธ ๋ css, js ํ์ผ ์ค์๊ฐ ๋ฐ์ํ๊ฒ ๋ง๋ค๊ธฐ
yjyuwisely 2023. 4. 1. 22:31230401 Sat
ํ์์์ ์คํ๋ง์ผ๋ก ํ ๋์๋ ๋ค๋ฅด๊ฒ ์ง์์ ์คํ๋ง๋ถํธ๋ก ํ๋๊น
css, js ํ์ผ์ด ์ค์๊ฐ ๋ฐ์์ด ์ ๋ผ์ ๋ถํธํ๋ค.
์ดํด๋ฆฝ์ค๋ฅผ ์ฌ์ฉ์ค์ด๊ณ , ํด๊ฒฐ์ฑ
์ ์๋์ ๊ฐ๋ค.
pom.xml์ <dependencies>์ ์๋ ์ฝ๋๋ฅผ ์ถ๊ฐํ๋ค.
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<version>2.0.4.RELEASE</version>
</dependency>
Maven Dependencies์ ์๋ jar ํ์ผ์ด ๋ค์ด๋ ๊ฒ์ ๋ณผ ์ ์๋ค.
src/main/resources ๊ฒฝ๋ก์ application.properties์ ์๋ ์ฝ๋ ์ถ๊ฐํ๋ค.
spring.devtools.livereload.enabled=true
spring.freemarker.cache=false
spring.thymeleaf.cache=false
application.yml๋ ์์ด์ ๊ทธ๋ฐ๋ฐ ์ง์ ํ์ผ ๋ง๋ค๊ณ , ์๋ ์ฝ๋ ์ถ๊ฐํ๋ค.
spring:
devtools:
livereload:
enabled: true
freemarker:
cache: false
thymeleaf:
cache: false
์ด์ ์คํ๋ง๋ถํธ๋ก css, js ํ์ผ ์ค์๊ฐ ๋ฐ์์ด ๊ฐ๋ฅํ๋ค!
์ฐธ๊ณ : https://suzxc2468.tistory.com/186
์คํ๋ง๋ถํธ(SpringBoot)์์ ์ฌ์์ ์์ด ์ ์ ์์ค(html, js, css) ๋ณ๊ฒฝ ์ ์ฉํ๊ธฐ
๋ณดํต ์นํ๋ก์ ํธ๋ฅผ ์ด๋๊ฐ์์ ๋ด๋ ค๋ฐ๋ , ๊ณผ๊ฑฐ์ ๋ณธ์ธ์ด ์ด๋ค ์ค์ ์ ํ๋ ๋น์ฐ ์ ํ๊ฒ ์ ์ ์์ค๋ฅผ ๋ณ๊ฒฝํ๊ณ ๋ธ๋ผ์ฐ์ ๋ฅผ ์๋ก๊ณ ์นจํ๋ฉด ๋ฐ์๋์๋ค. ๊ทธ๋ฌ๋ SpringBoot ํ๋ก์ ํธ๋ฅผ ์๋ก๋ง๋ค๊ณ ์
suzxc2468.tistory.com
https://blog.egstep.com/spring-boot/2017/12/10/springboot-reload/
Spring Boot ๊ฐ๋ฐ ์ ์๋ ๋ฆฌ๋ก๋ Reload
Introduction ์คํ๋ง ๋ถํธ ๊ฐ๋ฐ ์ค ์ฝ๋ ๋ณ๊ฒฝ ์, ์๋ ๋ฆฌ๋ก๋ ๋๊ฒ ํ๋ ๋ฐฉ๋ฒ
blog.egstep.com