开发者

GWT refresh modifications

开发者 https://www.devze.com 2023-01-02 00:36 出处:网络
I\'m new to GWT and therefore have a lot of \"code and see how it behaves\" going on. I\'m wondering what are th开发者_开发问答e minimal actions to take to load the modifications in my web browser. Fo

I'm new to GWT and therefore have a lot of "code and see how it behaves" going on. I'm wondering what are th开发者_开发问答e minimal actions to take to load the modifications in my web browser. For example when I work on the xml I can just refresh my page. So when do I need to perform these and why:

  1. Refresh browser
  2. Reload web server
  3. Re build app
  4. ???


1. Refresh browser

You need to do this whenever you've made code changes in UiBinder or any other client side code.

Reload web server

This needs to be done when you've made any changes to the server side classes. This only works if you're using the embedded Jetty in Dev Mode (not if you're using -noserver).

Re build app

You only need to compile the app when you're getting ready to deploy it or you want to show someone. This could also be required if you want to test the app in a browser that doesn't have the GWT plugin.


When running the app in development mode, making code changes in UiBinder or client side code the changes will be visible in the browser after a simple refresh.

But you will not see the error logs in GWT's "development mode" window unless you reload the server. So, by just refreshing the window you might miss some simple mistakes and you app will block with no notifications.

0

精彩评论

暂无评论...
验证码 换一张
取 消