Friday, October 10, 2014

Re: Application with code splitting not working in dev mode

Thanks Joe.

I removed all split points and I still have the same situation... My dev mode or super dev mode won't work, whilst my compiled code works (although not all compilations work! sometimes it hangs the same).

Re your suggestion, I set my compiler sttings to compile to PRETTY but all I'm getting from my server is the obsfucated version of the nocache file (I use the embedded jetty server). I guess it's the case until I start the Dev Mode On, but it never starts because it can't find the module...
In any case, I noticed then that the nocache file was an old one (pre my change of sdk from 2.5.1 to 2.6.1), cleaned my directory so that it'd be regenerated. I restarted dev mode and I now have a message in my console ;-) ie the devmode file is missing. For some reason the devmode file isn't created/added to the directory, why would that happend? how can I get back to "normal"?

Looks like it's nothing to do with code splitting but more with something that got messed up when I switched sdks...


On 9 October 2014 21:32, Joseph Lust <lifeoflust@gmail.com> wrote:
I meant any errors in the browser. Usually you'll get at least something the dev JS console. If not, you can compile in pretty mode and step through your .nocache bootstrap JS file and see how far it gets through there before failing, since you're not seeing it get to your entry point.

In these cases I'm using Super Dev Mode, so that might be different from your experience.

Joe

--
You received this message because you are subscribed to a topic in the Google Groups "Google Web Toolkit" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-web-toolkit/DpqEVihJo6E/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment