Question

I've seen that changing a source java file that contains GWT code(i.e. creating buttons, labels), gets reloaded automatically when I hit browser refresh.

I'm doing a multi-module maven project with these modules:

  • client
  • shared
  • server

but the GWT code reloading feature only works in a single-module project. Which config files tell GWT where to reload it's sources from? How do I configure this feature in a multi-module maven project?

Thanks

Was it helpful?

Solution

GWT loads files (java, ui.xml, css, etc.) from the classpath. How to configure DevMode to automatically reload your changes depends on how you run it: GPE or mvn gwt:run.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top