Export to GitHub

google-web-toolkit - issue #9004

More difficult to switch between dev mode and production mode


Posted on Nov 19, 2014 by Happy Elephant

Before 2.7, you could easily run Dev Mode and production mode on the same servlet engine and switch between them without recompiling. For example, using a ant project generated using webAppCreator, launch dev mode like this:

ant devmode

In a separate window, compile to production mode:

ant gwtc

Then you could switch how you're running the GWT application between dev mode and production mode by adding or removing the gwt.codesvr parameter.

This no longer works in 2.7. The new behavior is that running "ant gwtc" disables Super Dev Mode.

There are two known workarounds:

  1. restart devmode when you want to switch back
  2. install the Super Dev Mode bookmarklets and use them to switch back and forth.

Comment #1

Posted on Jun 10, 2015 by Massive Cat

Issue tracked moved to github, see https://github.com/gwtproject/gwt/issues

Comment #2

Posted on Aug 4, 2015 by Swift Dog

Here is the Github issue: https://github.com/gwtproject/gwt/issues/8958

Status: MovedToGithub

Labels:
Category-DevMode