Search code examples
gwtgwt-super-dev-mode

Detecting Super Dev Mode from within GWT app


I guess the title says it all:

Is there some kind of flag that allows my GWT app to check whether it is currently running in Super Dev Mode (something along the lines of GWT.isProdMode(), maybe)?


Solution

  • There's an open issue about having a public accessor like GWT.isProdMode().

    In the mean time, if you really need to know, there's a deferred binding property named superdevmode that you can use in your <replace-with> or <generate-with> rules.