Re: Fast edit-refresh cycles

2012-11-24 Thread Brian LeRoux
Ya, more I've thought on the more I think as long as we're using the config.xml (or likewise some manifest) as the canonical src for the concat then this should be an ok convention. While we are concatenating everything today its easy to know what's in there *because* we concat _everything_. In

Re: Fast edit-refresh cycles

2012-11-23 Thread Andrew Grieve
Something else along these lines we should consider - is providing a grunt.js file in the default template when you run cordova create. It could have a watch task that copies files from the root www/ into platform www/ directories whenever a file changes. On Fri, Nov 23, 2012 at 10:29 AM, Gord

Re: Fast edit-refresh cycles

2012-11-22 Thread Jesse
I think all the refresh stuff is super cool, I will share how I work, so you can get another perspective. 90% of my code is written on localhost, either running directly in a browser to work out UI stuff. When I need access to actual device APIs, I simply put a redirect in my index.html. This gets

Re: Fast edit-refresh cycles

2012-11-22 Thread Filip Maj
Agree with Jesse. Automatically adding the plugin's .js to html pages inside a www dir can be done by the cordova-client tool anyways. Agree this should go to vote before we proceed. On 11/22/12 12:13 PM, Jesse purplecabb...@gmail.com wrote: I think all the refresh stuff is super cool, I will

Re: Fast edit-refresh cycles

2012-11-22 Thread Gord Tanner
This also is feeding into some of the work we are doing with ripple. Ripple will serve up the app and host it kind of like how we do debug.phonegap.com for in browser testing. Sent from my iPhone On 2012-11-22, at 3:15 PM, Filip Maj f...@adobe.com wrote: Agree with Jesse. Automatically

Re: Fast edit-refresh cycles

2012-11-22 Thread Andrew Grieve
On Thu, Nov 22, 2012 at 3:36 PM, Gord Tanner gtan...@gmail.com wrote: This also is feeding into some of the work we are doing with ripple. Ripple will serve up the app and host it kind of like how we do debug.phonegap.com for in browser testing. Sent from my iPhone On 2012-11-22, at 3:15

Fast edit-refresh cycles

2012-11-21 Thread Braden Shepherdson
So for the last while I've been working on making the edit-refresh cycle faster when one is working on the web part of a Cordova app. We can't do much about the native side, but there must be a faster way than saving the code, switching to Eclipse/Xcode, rebuilding and deploying. There are two