Skip to content
This repository has been archived by the owner on Jul 8, 2020. It is now read-only.

support browser platform with livereload #428

Closed
nueko opened this issue Aug 29, 2016 · 5 comments
Closed

support browser platform with livereload #428

nueko opened this issue Aug 29, 2016 · 5 comments

Comments

@nueko
Copy link

nueko commented Aug 29, 2016

Hi, I hope this feature is implemented here, thanks.

@gruppjo
Copy link
Contributor

gruppjo commented Aug 30, 2016

Hi, you can develop with livereload in your browser for development with gulp watch or on your device with gulp --livereload 'run <platform>'
https://github.com/mwaylabs/generator-m-ionic/blob/master/docs/guides/development_intro.md#run-on-device-or-emulator-with-livereload
Additionally any cordova command can be run with the wrapper gulp --cordova 'any command'
https://github.com/mwaylabs/generator-m-ionic/blob/master/docs/guides/development_intro.md#using-the-cordova-cli

@gruppjo gruppjo closed this as completed Aug 30, 2016
@nueko
Copy link
Author

nueko commented Aug 31, 2016

Yes i run gulp --cordova 'run browser' but must do that again when i edit the source, and for note, in the gulp --cordova 'run browser' command we can use camera, geolocation, etc.

@gruppjo
Copy link
Contributor

gruppjo commented Sep 1, 2016

I understand what you mean now. We could try to get livereload work with the browser platform. Do you use the browser platform for testing or do you also use it for production?

If we do this, we should offer the browser platform in the initial questions.

@gruppjo gruppjo reopened this Sep 1, 2016
@gruppjo gruppjo changed the title cordova run browser live reload support browser platform with livereload Sep 1, 2016
@gruppjo gruppjo added this to the 1.10.0 milestone Sep 1, 2016
@gruppjo
Copy link
Contributor

gruppjo commented Sep 1, 2016

@nueko. I got it implemented. See this commit (a8eac57) if you want to use it right now or wait until the next release (probably some time next week)

@gruppjo gruppjo closed this as completed Sep 1, 2016
@nueko
Copy link
Author

nueko commented Sep 1, 2016

Wow, thank for that.

That's worked. but use localhost instead.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant