open-cli-tools / open-cli-tools/concurrently

cd ./app && bun dev as command doesn't read .env vars

Open
#511 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
7.9k
Forks
281
Avg merge
17h 12m
Merged PRs (30d)
1

Description

A bit of a weird issue, but I cannot explain it better.

in a vite app that sits at ./app folder, and concurrenlty being executed on the root directory (.), if I run concurrently "cd app && bun dev" the vite app starts, but the environment variables are not read.

This doesn't happen with goreman.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the reported concurrently "cd app && bun dev" command with a Vite app in ./app, and compare its environment-variable behavior with the linked Goreman case. Trace the command's working-directory and environment handling; done means variables from the app's .env are read when the command is launched through concurrently.

Written by the indexing model from the issue text.

Assessment

Tech stack
bun, typescript, vite
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.