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

Environment variables not injected if starting on different port #6982

Open
Togrias opened this issue May 4, 2019 · 4 comments
Open

Environment variables not injected if starting on different port #6982

Togrias opened this issue May 4, 2019 · 4 comments

Comments

@Togrias
Copy link

Togrias commented May 4, 2019

Steps to reproduce:

Run a project in dev mode on a port that is already used. It will prompt a different port. Hit "Y" to continue.

Custom .env variables will be missing on this project.

@iansu
Copy link
Contributor

iansu commented May 4, 2019

Can you please provide more information about what version of react-scripts you're using, what OS, etc.?

@Togrias
Copy link
Author

Togrias commented May 4, 2019

react-scripts: 3.0.0
MacOS

@iansu
Copy link
Contributor

iansu commented May 5, 2019

Thanks. We'll check this out and see if we can reproduce it.

@heyimalex
Copy link
Contributor

Unable to repro, seems like it works fine?

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

No branches or pull requests

3 participants