Domanda

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

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top