I guess the best solution is this:
(copied from https://gitter.im/gwtproject/gwt?at=5afb220db84be71db90bf92a)
but here are other solutions as well https://stackoverflow.com/questions/26917060/detecting-super-dev-mode-from-within-gwt-app
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firstname.lastname@example.org.
To post to this group, send email to email@example.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.