On 02/12/2014 11:25 AM, Max Rydahl Andersen wrote:
On 12 Feb 2014, at 9:49, Mickael Istria wrote:
On 02/12/2014 09:44 AM, Max Rydahl Andersen wrote:
The presentation, from Sebastien Paul, was mainly showing simple usage of Cordova CLI. The demo showed many things that are available in the Cordova Eclipse plugins as well (create a project, add plugin, start ios emulator...). The only thing he didn't have in his CLI demo compared to the video is CordovaSim/Ripple.
He also demoed something nice: a livereload-cordova plugin ( https://github.com/fingerproof/cordova-plugin-gapreload and https://vimeo.com/81192559 ). This is interesting because it allows to configure the packaged application (the apk, ios, or whatever actual package) to use livereload to check for updates of some of its resources. So you can get livereload enabled on your actual tests devices while developing a cordova application and see updates without any need to repackage or redeploy the application. It's IMO a great productivity boost. Of course, this is something people wouldn't like to ship as part of there delivery, and is only good for development purpose. See last paragraph for more thoughts on this topic.
nice - should work automagically with our live reload implementation too if I grok the demo right.
Yes, but the plugin requires to configure the URL of livereload server. So JBoss Tools Cordova should expose a property or provide a hook to avoid hardcoding this property in the plugin config.
isn't this the same for the live reload mac app ?
Yes, he had to configure the plugin with cordova CLI to set the right IP. It was an annoying set (need to find out the IP, copy-paste it...)
--
Mickael Istria
Eclipse developer at JBoss, by Red Hat
My blog - My Tweets