this is test and study for spring boot devtools Add customized listener 1.create file named [src\main\resources\META-INF\spring.factories] org.springframework.context.ApplicationListener=..MyListener 2.add implementation MyListener