You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
"npm start" stops immediately when run as background job #8956
Same. Central to my dev workflow too, so I tinkered a bit. I have a monorepo where a bash script launches about 6 different processes, backgrounds each, then calls wait on each.
Workaround
I changed
BROWSER=none yarn start &
to
BROWSER=none yarn start | cat - &
in my bash script and now create-react-app behaves normally again, albeit without colorized output
Reacted by Chase Gilliam, Hudson Leite, Luke Murray, Stack-Conqueror, Diogo Biazus, Thomas Rebaud and Alexander
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs.
Activity
moos commentedon May 4, 2020
More info: I believe this is caused by #7203. When I remove that, it runs in the background. The culprit seems to be this line.
Fix for #8688 does not resolve this issue.
cipriancaba commentedon May 13, 2020
I have the same issue when running start in a yarn monorepo, starting multiple cra apps
jannikbuschke commentedon May 30, 2020
+1
backus commentedon Jun 4, 2020
Same. Central to my dev workflow too, so I tinkered a bit. I have a monorepo where a bash script launches about 6 different processes, backgrounds each, then calls
waiton each.Workaround
I changed
BROWSER=none yarn start &to
in my bash script and now create-react-app behaves normally again, albeit without colorized output
stale commentedon Jul 4, 2020
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs.
stale commentedon Jul 11, 2020
This issue has been automatically closed because it has not had any recent activity. If you have a question or comment, please open a new issue.