aeternity / aepp-base

Base æpp
https://base.aepps.com
ISC License
42 stars 28 forks source link

Live reload for the cordova base app #176

Open ghost opened 5 years ago

ghost commented 5 years ago

Issue: Working on the application and seeing changes takes up a bit of time, since let say we make a small change, we need to rebuild the entire app and run it again, there is no functionality where the code gets automatically pushed.

Current solutions found on a 5 minute search on google:

https://www.npmjs.com/package/cordova-plugin-browsersync https://github.com/nordnet/cordova-hot-code-push https://github.com/nordnet/cordova-hot-code-push/wiki/Local-Development-Plugin

davidyuk commented 5 years ago

For me, there is no reason to implement this. I don't have a lot of stuff to debug in Cordova.

ghost commented 5 years ago

Well, it can be a good idea for future implementations, since there might be cases where we need to constantly work with a device or an emulator.

The base-app main target are mobile phones, if you're debugging solely on the browser to me its a little bit as giving the driver seat to a blind person and telling him where to drive. Yes the people might arrive at the destination, but who knows what factors might there be to impede the arrival.

Anyway, just a suggestion. I can still work as it is, just takes a lot of time to build and check even for the smallest thing.