javamavengwtgwt-super-dev-mode

compilation is not happening on page refresh in GWT Super Dev Mode


I have multiple maven based application developed using GWT+SmartGWT.Currently i migrated to GWT 2.7 and setup Super Dev Mode for this multiple maven project and launch the SDM.But when i referesh the page compilation is not happening.Is there anythink i need to configure.Any Suggestion?


Solution

  • "Compile on load" is only enabled in SDM if a -launcherDir is passed as argument. CodeServer will then generate a *.nocache.js that triggers "compile on load" (but requires a running CodeServer, so make sure you recompile your application before deploying, or use a distinct directory for SDM vs. production compilation output).

    If you don't pass -launcherDir, then you're back to the legacy (and deprecated) SDM that uses bookmarklets and sessionStorage.