Spring Boot Dev Tools要将其关闭以进行生产吗? [英] Spring Boot Dev Tools Turning them off for production?
本文介绍了Spring Boot Dev Tools要将其关闭以进行生产吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我阅读了很多有关spring开发工具的文章,并且尝试过它们,它们看起来很酷.但是,我不了解如何启用/禁用它们.例如,仅添加依赖关系,一切都会神奇地起作用,但是如果我想将代码部署到生产中怎么办?开发工具是否仍在运行,我需要使用配置文件或其他工具将其禁用?
I was reading around a lot about spring dev tools and I have tried them on and they seem pretty cool. However, I don't understand how they get enabled / disabled. For instance just adding the dependency, everything magically works, but what if I wanted to deploy my code to production? Are the dev tools still running and I need to disable them with a profile or something?
推荐答案
否,它会自动关闭.
查看全文