We had a reset.css included in the public app folder which was used by adding it to the static html header. In this case I just moved it to the gwt xml module so it was available on gwt app initialization.
Copying the web resources on SDM init would be nifty. I'm not sure what the commit is doing yet, but that looks like it should work just fine. What I suspect may happen is folks that are used to using DevMode and since its resource are available on running it b/c of the compiler locking up the web request, some will complain of 404 requests. I agree, any speed gains are a bonus so I like the noprecompile and let the browser trigger it. DevMode does that but it locks the browser up. Thanks, Brandon On Monday, September 29, 2014 2:45:31 AM UTC-7, Thomas Broyer wrote: > > > > On Sunday, September 28, 2014 10:06:12 PM UTC+2, Ray Cromwell wrote: >> >> This was fixed recently I think, where all public resources are copied >> even if no precompile happens. >> >> > That's the change I linked to, but it's copying the resources to the > CodeServer's own temporary folder IIUC. > What Brandon is asking for is copying those same files to the folder > pointed to by the -war passed to DevMode, hence my suggestion. > > >> >> On Sun, Sep 28, 2014 at 3:02 AM, Thomas Broyer <[email protected] >> <javascript:>> wrote: >> >>> I'd rather say DevMode's -superDevMode should share the same behavior as >>> https://gwt-review.googlesource.com/#/c/9137/4/dev/codeserver/java/com/google/gwt/dev/codeserver/Recompiler.java >>> >>> >>> On Sunday, September 28, 2014 10:56:17 AM UTC+2, Brandon Donnelson wrote: >>>> >>>> I've been thinking it might be good to be able to turn off noprecompile >>>> when using super dev mode. >>>> >>>> I found with dev mode, the resources in the public folder could be >>>> added to html page, although with -superDevMode on the resources are not >>>> available till the first compile happens and this happens after the web >>>> page is requested and if any public resources are included in the web page >>>> there will be a 404 until the first compile. DevMode blocks until the >>>> compile is done so the pattern of resource inclusion has to change for >>>> those using public resources in the html page. >>>> >>>> Anyway do you think -noprecompile should be an option to turn off when >>>> running DevMode with SuperDevMode? >>>> >>>> Thoughts? >>>> >>>> Thanks, >>>> Brandon >>>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "GWT Contributors" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected] >>> <javascript:>. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/google-web-toolkit-contributors/65212555-efa9-493c-aead-031566baaf20%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/google-web-toolkit-contributors/65212555-efa9-493c-aead-031566baaf20%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- You received this message because you are subscribed to the Google Groups "GWT Contributors" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/437e1a32-14c9-45de-87a9-7710f4e76fb1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
