Tuesday, February 26, 2013

Re: GWT 2.5 dev mode unable to refresh

Have you guys considered trying out the new super-dev-mode?

I only save the sluggish dev mode for when I absolutely have to have a java debugger to find out what's going on.

Super-dev-mode will cost you a few seconds per page refresh (though, OOM popping your JVM is much, much slower),
but it also gets rid of a very nasty class of bugs: "Ones you shouldn't bother with in the first place".

Performance in dev mode and compiled mode are very different,
even down to how asynchronicity and some timing works.

What makes production mode fast makes dev mode slow (jsni).
And, if you have the choice, always optimize for production.

Oh, and in regards to your upgrade woes, make sure you manually delete and gwt unit caches you have left,
a cached unit from one version will likely be incongruent with the new one.

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment