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

Cannot use make serve with a custom APP_ENV value #1582

Open
mrclay opened this issue Feb 20, 2023 · 0 comments
Open

Cannot use make serve with a custom APP_ENV value #1582

mrclay opened this issue Feb 20, 2023 · 0 comments

Comments

@mrclay
Copy link
Contributor

mrclay commented Feb 20, 2023

APP_ENV=ddev make build correctly builds for local API usage, but make serve (technically the serve:watch script) always overwrites the build using APP_ENV=dev.

Expected Behavior

I would expect if I set export APP_ENV=ddev then build and serve to honor that.

Actual Behavior

I have to use make serve.dev to (ironically) serve the DDEV build.

Steps to reproduce the behavior

  1. export APP_ENV=ddev
  2. make build (ddev config is used)
  3. make serve (dev config is used in the watch build)

I guess I need to know how this should work before sending a PR :)

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