Inflearn Community Q&A
정적 페이지를 고칠 때마다 서버를 재시작 해야하나요?
Written on
·
604
0
400.html를 404.html로 수정하면서 재시작를 하시더라고요.
예전에 JSP에서는 안에 있는 내용이 추가 되거나 파일명이 변경되면 런타임에 반영이 되거든요.
정적콘텐츠가 수정될 때마다 서버를 재시작하는 건 너무 비효율적인것 같습니다.
좋은 방법이 없을까요?
spring-bootspringjava
Quiz
What is the core Spring Boot feature that automatically configures necessary beans just by adding dependencies?
Aspect-Oriented Programming
Dependency Injection
Auto-Configuration
Convention over Configuration
Answer 2
0
0
whiteship
Instructor
spring-boot-dev-tools를 쓰시면 재시작 하지 않고 프로젝트 빌드만 해도 추가하거나 변경된 파일을 볼 수 있을겁니다.
스프링 부트 강좌 참고해 주세요.
좋은 질문 감사합니다.





