Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: create a flag to run quasar dev -m cordova from file:// instead of server on development machine #131

Open
customautosys opened this issue Nov 28, 2019 · 0 comments

Comments

@customautosys
Copy link
Contributor

Currently, running quasar dev on cordova results in the app URL being re-pointed to the IP address of the development machine. This creates CORS errors which do not arise when cordova is running from file:// as in a production environment.

Additionally, running the pages from a development server results in hard to detect bugs which strangely arise when the cordova app runs from file:// in a production release.

This problem is currently mitigated by running quasar build -m android and cordova run android from src-cordova thereafter. However, this solution is not ideal as the source code is built for production and minified, making it very hard to debug remotely.

I am requesting for a new flag to be added so that a cordova dev build can run off file:// instead of pointing at the IP address of the development machine. This would be very helpful for debugging purposes. I understand that if this is done, hot-reload probably would not be able to work but that is a small price to pay.

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

No branches or pull requests

1 participant