-
Notifications
You must be signed in to change notification settings - Fork 477
Running multiple expo start
processes in the same folder causes packager configuration to be overwritten
#4091
Comments
Are these two projects running in two completely separate folders? When I run a single project, on a different port number, then hit |
These projects are a single folder -- I'm using an |
Yeah, that confirms my suspicion: that single file is used to read the packager config, so starting two in the same folder will unfortunately overwrite the config that the I can't think of an easy fix tbh. |
expo start -p
port selection not applied to quick open optionsexpo start
processes in the same folder causes packager configuration to be overwritten
We only support running one instance of |
😞 |
Summary
I'm using
expo start -p
to run two expo apps at the same time. It looks like that port isn't being used when quick-opening (e.g.,press i | open iOS simulator
).For example, here's the output from initial
expo start -p 19001
+i
:Environment
Please specify your device/emulator/simulator platform, model and version
iOS 15.2 iPhone 13
Error output
No response
Reproducible demo or steps to reproduce from a blank project
In one window ("Window-A"), run
In another ("Window-B"), run
from Window-A, press i.
The metro bundler will log that the app is opening on
19000
, rather than19001
.The text was updated successfully, but these errors were encountered: