I haven't noticed the bit about restarting sdm, but at least a recompile is certainly required to switch to a new property value. SDM does definitely (and deliberately?) build based on exactly the set of properties coming back from the last compile request, to avoid generating/compiling unnecessary classes. When the formfactor changes, try hitting the compile button again (inside the Dev Mode On popup, the Compile button is actually another bookmarklet). This works for changing browser for sure, and I've seen it work for property-provider-solved values as well. That said, propertyproviders get a bit gross in this area, since the Compile button doesn't re-run the selection script, it recompiles with the current property. Might be needed to either recompile twice (if changing property-provider) or refresh and then compile.
We'd need to ask John etc, but I would imagine that it isn't presently planned to compile more than one value of a property in sdm and collapse into the output, if for no other reason than keeping sdm less slow. On Thursday, April 10, 2014 2:11:56 PM UTC-7, Jens wrote: > > I have a deferred binding property "formfactor" and for development with > SDM I collapsed all properties so I can switch between phone/tablet/desktop > UIs in Chrome on the fly. > > When SDM starts and does the first compile things work as expected and I > can switch UIs without problem. However if I hit the re-compile bookmarklet > SDM sets the formfactor property to the one that is currently active in the > browser and it seems like there is no way to change that property again to > something else without restarting SDM. > > I found that behavior kind of cumbersome and I am wondering if it's a bug > or intended and I missed something? > > -- J. > > > > -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- 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]. For more options, visit https://groups.google.com/d/optout.
