GWT module may need to be (re)compiled message when using SuperDevMode

862 views
Skip to first unread message

Paul Stockley

unread,
Sep 9, 2012, 12:02:48 AM9/9/12
to google-we...@googlegroups.com
Every time I click the compile button from the 'Dev Mode On' bookmarklet, I get the 'GWT module '..' may need to be (re)compiled' alert. It works fine after that but it's kind of annoying. Anyone have an idea why this happens?

Thomas Broyer

unread,
Sep 9, 2012, 7:04:26 AM9/9/12
to google-we...@googlegroups.com

On Sunday, September 9, 2012 6:02:48 AM UTC+2, Paul Stockley wrote:
Every time I click the compile button from the 'Dev Mode On' bookmarklet, I get the 'GWT module '..' may need to be (re)compiled' alert. It works fine after that but it's kind of annoying. Anyone have an idea why this happens?

This generally happens when you try to run in prod mode (i.e. without the ?gwt.codesvr=xxx) a *.nocache.js file that has been generated by DevMode rather than the Compiler.
And the way SuperDevMode works is that the code that shows the alert is (and needs to be) run just before the SuperDevMode hook "overrides" the normal bootstrap sequence.

emurmur

unread,
Sep 9, 2012, 12:50:05 PM9/9/12
to google-we...@googlegroups.com
Make sure that you do a full release compile (using GWT compile from the Google menu) once before running the code server the first time.  Of course, the source code server MUST be running for the bookmarklets to work at all.
Reply all
Reply to author
Forward
0 new messages