Stefan Endrullis
Stefan Endrullis

Reputation: 4208

Looking for a one click method to recompile GWT client code by using the codeserver?

I have a single module GWT project. The compilation with codeserver works fine.

However, I find the procedure of recompiling my client code with the codeserver unnecessarily cumbersome. Do I really have to click on three buttons for one recompilation?

Is there any chance to automate this procedure so that I have to perform only one click or one keyboard shortcut?

Edit 2014-04-19:

I start the webserver via mvn gwt:run and the codeserver via mvn gwt:run-codeserver.

Upvotes: 0

Views: 122

Answers (1)

Colin Alworth
Colin Alworth

Reputation: 18331

Just one button to click, and you are already clicking it:

2nd button: "compile"

It turns out the Compile button in the Dev Mode On screen is another bookmarklet - you just need to stick that near Dev Mode On and Off.


3rd button: "OK" button of the message dialog "GWT module 'mywebapp' may need to be (re)compiled"

This should not show up at all. If it is, you are also running regular dev mode while super dev mode is going - regular dev mode deletes the contents of your compiled code, which is why you are getting this other message.

Upvotes: 1

Related Questions