开发模式期间 GWT 在服务器上强制更新 [英] GWT force Update on Server during development mode

查看:18
本文介绍了开发模式期间 GWT 在服务器上强制更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到了一个非常烦人的问题.在我的应用程序中,每当我需要更改客户端代码时,刷新都会使新修复工作

I am getting a really annoying problem. In my application, whenever i need to change client code, the refresh make the new fix works

但是,在编辑服务器代码时,我需要停止当前应用程序并再次运行.当应用程序很大时,这需要一点时间.

However, when editing server code, i need to stop the current application and run again. When the application is big, this takes a little time.

有没有办法强制更新当前运行的服务器代码???

Is there a way to force update the current running server code???

推荐答案

我需要停止当前的应用程序并再次运行

i need to stop the current application and run again

[...]有没有办法强制更新当前运行的服务器代码???

[...] Is there a way to force update the current running server code???

绝对的!当您需要刷新服务器端代码时,不必停止服务器:在开发模式"视图(在 Eclipse 中)中,单击带有两个黄色箭头的图标.此应用程序重新加载比服务器重新启动要快得多.

Absolutely! It's not necessary to stop the server when you need to refresh the server side code: In the "Development Mode" view (in Eclipse), click the icon with the two yellow arrows. This application reload is much quicker than a server restart.

这篇关于开发模式期间 GWT 在服务器上强制更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆