ionic-team / ionic-native-google-maps

Google maps plugin for Ionic Native
Other
221 stars 125 forks source link

How to achieve live reload ? #275

Closed mluis closed 4 years ago

mluis commented 4 years ago

I'm submitting a ... (check one with "x")

Is there any versatile development workflow in order to develop with this plugin like live-reloading?

I've tried ionic cordova build browser && ionic cordova run browser -l but it doesn't seem to work.

Am I missing something? Thank you.

wf9a5m75 commented 4 years ago

Maybe you access to localhost:8080? Try to access 8100

mluis commented 4 years ago

Confirmed. The livereload port is 8100. Closing.

battika commented 4 years ago

I know Ionic 3 is no longer supported by this plugin however it still works but here is the command for running browser platform with live reload

ionic-app-scripts serve --sourceMap source-map --iscordovaserve --wwwDir platforms/browser/www/ --buildDir platforms/browser/www/build

awaism551 commented 4 years ago

can we achieve livereload incase of emulator/real device?? does this plugin supports livereload in those cases? because currently I am getting this error Error: Uncaught (in promise): Error: [GoogleMaps]You need to execute "$> ionic cordova run browser"."$> ionic serve" is not supported. obviously this error message is unclear, I am not running ionic serve command, I am running sudo ionic cordova platform run android --livereload command btw, Thanks