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
Don't start local server when using option --mobile-server #3727
Comments
This looks like a valid case when you want to run a mobile app and local server from different code bases. When we built the So it is clear that it can work inconveniently for you. But it looks like there is a clear workaround of killing servers and running them in the "correct" order. At some point it would be nice to straighten out all of these cases by providing more fine-grained commands that do less work ("just run the mobile app", "just run the server", etc). For now it probably doesn't stop you from getting the app up and running. |
@Slava Is it possible for you to explain what exactly happens when you pass in Does it mean that my mobile device is still trying to connect to local server even when I specified the |
I also find this behaviour very confusing. I don't quite understand what it means when it says: => App running at: http://localhost:3000/ And there is no mention at all of @Slava not sure what you meant by "mobile app and the site on the same port from the same code base". There is the client portion of meteor code which I can run locally and it should talk to the Maybe it is because I have |
To help provide a more clear separation between feature requests and bugs, and to help clean up the feature request backlog, Meteor feature requests are now being managed under the https://github.com/meteor/meteor-feature-requests repository. This feature request will be closed here, but anyone interested in migrating this feature request to the new repository (to make sure it stays active), can click here to start the feature request migration process. This manual migration process is intended to help identify which of the older feature requests are still considered to be of value to the community. Thanks! |
When I want to run my app on iOS (or other platform), using remote server on meteor.com, I run the command:
$ meteor run ios-device --mobile-server example.meteor.com
It works almost fine, except for the fact that this command also tries to run a local server. This is not necessary at this point because the app is using the server on example.meteor.com.
When the local server is already running from another terminal instance, an error is generated. Plus, I think the app should be deployed to example.meteor.com before it is run on mobile device in order to prevent app version conflicts.
So my suggestions:
I'm pretty new to the meteor environment, so please excuse me & correct me if I'm wrong...
The text was updated successfully, but these errors were encountered: