generator-m-ionic icon indicating copy to clipboard operation
generator-m-ionic copied to clipboard

use proxy in livereload emulate

Open riderx opened this issue 9 years ago • 3 comments

the options --proxy do nothing in this line : gulp --proxy --livereload "emulate ios"

riderx avatar Oct 26 '16 13:10 riderx

the proxy is not designed to be run with livereload. Why do you want to use the proxy on the device? When you're running the task on the device, CORS isn't usually an issue.

gruppjo avatar Oct 26 '16 15:10 gruppjo

because this --liverolad command serves using browser-sync, I also have CORS issues, and I wish --proxy to fix this

voznik avatar Oct 27 '16 10:10 voznik

@voznik, of course! I'm currently not able to invest time in this because I'm working on the next version of the generator for ionic2, but this seems like a useful and legit feature! Thanks for bringing it up @riderx.

gruppjo avatar Oct 27 '16 11:10 gruppjo