Hi Edoardo,
Hosted mode doesn't pick up server-side code changes when refreshing the
hosted mode browser, so what you experienced is indeed intended. However,
you can have hosted mode pick up server-side changes by pressing the
"Restart Server" button. This will make the embedded Jetty server restart
and pick up all the latest server-side changes.

While it might make sense to pick up server-side code changes in a refresh
when using the embedded Jetty instance, projects eventually move to their
own server-side components and use hosted mode with the -noserver option,
where class changes being picked up or hot swapped falls on server-side
configuration.

Hope that helps,
-Sumit Chandel

On Tue, Aug 11, 2009 at 4:26 AM, Eddy <[email protected]> wrote:

>
> Hello,
>
> I am experimenting with new GWT plugin + GWT 1.7 and I notice the
> following:
> I create a new GWT only application and start it in debug mode,
>
> if I get on the code view of eclipse and edit anything on the client
> side, the changes are loaded instantly after I reload the page,
>
> if I edit anything on the server side (package com.niceapp.server) for
> example the class GreetingServiceImpl.java nothing happens: the only
> way to see it is to stop the engine (embedded jetty in gwt plugin) and
> start it again.
>
> I just wanted to know if this is the expected behaviour, since using
> jetty in eclipse normally this doesn't happen.
>
> Thanks
> Edoardo
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to