Closed aintnorest closed 9 years ago
Hi @aintnorest thanks for the feedback! I'll make some time to fix this issue sometime this week :+1:
@aintnorest I've edited the issue for some syntax highlighting I hope you don't mind, it makes it easier to read.
Can you specify a bit more clearly what is it you need? If I understand correctly you'd like an event emitted whenever a build is finished?
It think this module needs a mejor re-work and should use apache/cordova-lib instead of apache/cordova-cli to be more reliable and stable. Relying on spawned processes is not a good idea. I'm working on porting this to apache/cordova-lib.
Sorry I should never write issues late at night they're never clearly written and my natural tendency to babel wins out... So two things.
I should say I don't think anything here is necessarily a bug more of enhancements that would be nice. Especially number one something about setting timeouts to try and catch when something is done is just unpalatable. Thanks again for the plugin its made my build process less of a pain.
Everything sounds pretty reasonable! I think the first step, as I mentioned,
is moving away from cordova-cli
and towards cordova-lib
. Hopefully that
will the modules it more manageable and less fragile. I'll keep you updated
on the progress.
I'll try to keep the API consistent but if you have any requests/suggestions it's probably a good time to change and break stuff :grin:
@aintnorest it's still a work in progress (getting time from wherever I can), but if you want to see some of the changes you can take a look at the branch feature/use-cordova-lib
@aintnorest please reopen if this issue still applies after switching to gulp-cordova@0.1.0
or open a new one if old ones still happen.
Notice the new version is published under a new name.
Thanks, I'll give it a try hopefully Sunday if I can find some time. Have my daughters 1st birthday this weekend. If not though I'll definitely get to it Monday. Thanks for the work you've put into it. I had thought I might get a chance to help after I get my current project shipped next week but you were really quick.
Well let's hope I haven't broken everything! Some things might need fixing as I haven't had the time to test the changes properly.
Congratulations on your daughters birthday! 😄
@aintnorest did you have a chance to use the new version? Is it working better?
So I use the non json way to run commands. First the commands trigger done when they aren't done which isn't a huge deal i use set timeouts to deal with that although not ideal it works. My biggest problem is i have to change the current working directory to do my builds and emulates but then it doesn't tell me when its done so i can properly set it back. What I have here works but only if I don't save twice within 12 seconds of each other, really not optimal. Thanks for any help.