์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
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 |
- 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
https://blog.egstep.com/spring-boot/2017/12/10/springboot-reload/