These are chat archives for mwaylabs/generator-m-ionic

4th
Apr 2016
Cheryl Hanlon
@cherylhanlon
Apr 04 2016 14:14
Hello, firstly apologies in advance as I am usually a mvc/c#/server side dev and not really used to angularjs/client side technology. I have a quick question. I have began work on a mobile app using your generator and I am having trouble getting live reload working on my android device. Does the generator have everything ready to support live reloading or is there a seperate bunch of steps I need to do in addition to get this working?
I was using the gulp --cordova 'run android --device -l' to run the command
Thanks in advance for any advice.
Jonathan Grupp
@gruppjo
Apr 04 2016 14:31
Hey @cherylhanlon, live-reload is not a feature we currently have implemented, since it's not quite trivial. The Cordova CLI (which you execute by running gulp --cordova) doesn't have this feature implemented. The Ionic CLI has a feature like this, but the Ionic CLI doesn't work with the generator properly. Although we're working on that. So it might come in the future.
Cheryl Hanlon
@cherylhanlon
Apr 04 2016 14:32
Thanks for the response @gruppjo , at least know I now it wasn't just me :D
Jonathan Grupp
@gruppjo
Apr 04 2016 14:33
Ha! Not at all ;)
DEllingsworth
@DEllingsworth
Apr 04 2016 16:44
Started using your generator on a project. Works well so far. The sub generators are a nice touch.
Can you point me in the right direction for modifying the gulp file to launch Chrome on 'watch' and not the default browser? I've attempted to modify watching.js and added browser: "google chrome" to the bsOptions, but that didn't seem to do anything.
DEllingsworth
@DEllingsworth
Apr 04 2016 17:06
Turns out, the setting should be just 'chrome' and it works fine!