0

I am migrating from gwt 2.6.1 to 2.7

When I launch super dev mode, I cannot recompile my application by clicking on the bookmark Dev Mode On. Clicking on Dev Mode Off then Dev Mode On works but I don't think this is the good way to use SDM.

I heard with gwt 2.7 there is no need to use the bookmarks anymore, but how to launch the super dev mode without clicking on the bookmarks ? (If I don't click on the bookmark I don't see my changes)

Olivier Boissé
  • 15,834
  • 6
  • 38
  • 56

1 Answers1

1

In super dev mode you just need to refresh the page to see the client-side changes.

Andrei Volgin
  • 40,755
  • 6
  • 49
  • 58
  • it doesn't work for me, its like if there is no link between my webapp and the superdev mode url (127.0.0.1:9876), when I click on the bookmark it's ok but I can't recompile. Do I miss some arguments to start the super dev mode (I have just the arg -noserver and the name of my module) – Olivier Boissé Feb 19 '16 at 20:55
  • Which arguments do you use to launch the app in SDM? – Andrei Volgin Feb 19 '16 at 22:22
  • 'when I click on the bookmark it's ok but I can't recompile. ' - you don't need bookmarks in 2.7.0, guess that's the issue – Роман Гуйван Feb 20 '16 at 16:22
  • I use the arguments -superDevMode -codeServerPort -noserver -startupUrl -war and -bindAddress. I understood that I don't need anymore the bookmarks, so my question is how to link the super dev mode with my webapp deployed on the server, because when I lanch the super dev mode and I go to 127.0.0.1/my-webapp/index.html it doesn't recompile my application when I do some changes in the code. – Olivier Boissé Feb 22 '16 at 08:46
  • @AndreiVolgin I know where the problem is, but I don't know how to solve it. I created a sample project and I ran it with the embedded jetty server, when I edit the html page in firefox I see that 2 script tags where added ad the beginning of the head tag, , when I launch the webapp in a remote jboss server I don't see these 2 script tags added – Olivier Boissé Feb 22 '16 at 15:16