tbroyer / gwt-maven-plugin

Starting fresh on building GWT projects with Maven
https://tbroyer.github.io/gwt-maven-plugin/
Apache License 2.0
167 stars 39 forks source link

SuperDevMode - Not recompiling JS in public directory #124

Closed phuongtailtranminh closed 5 years ago

phuongtailtranminh commented 5 years ago

Hi,

I'm working on the Che plugin project which is using gwt-maven-plugin and its Super Dev Mode (SDM) feature.

The JS is placed under REVERSE.PACKAGE.NAME.public directory

When the content of JS file is changed, seem like SDM doesn't pick it up

I believe that there is a solution for this without externally load the JS into my app

tbroyer commented 5 years ago

This plugin is only responsible for launching GWT's SDM, and the copying of public resources is done by SDM itself; so I'll close this issue.

FYI, SDM will copy the public resources at startup and then each time it recompiles the module (but not when the only change is in the public resources). A workaround would then be to touch any Java file to trigger a recompilation.

I'd suggest you post to the GWT forum if you have issues making it work.