简体   繁体   English

如何在IntelliJ(开发模式)下刷新GWT的服务器代码?

[英]How to refresh server code for GWT in IntelliJ (dev mode)?

When running a gwt project in dev mode in IntelliJ, if I make any changes to the server-side code, I need to actually stop and run the app again in order for it to be updated. 在IntelliJ中以开发人员模式运行gwt项目时,如果我对服务器端代码进行了任何更改,则需要实际停止并再次运行该应用程序才能对其进行更新。

Is there any other way to refresh the server-side code, so the whole app doesn't have to be restarted? 还有其他刷新服务器端代码的方法,因此不必重新启动整个应用程序吗?

GWT server code is real Java code, so no, you can't do that by default. GWT服务器代码是真实的Java代码,因此不,默认情况下您不能这样做。 However, you could use JRebel (commercial) to achieve what you want. 但是,您可以使用JRebel (商业)来实现所需的功能。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM