Skip to content

Conversation

erezrokah
Copy link
Contributor

@erezrokah erezrokah commented Jul 6, 2021

- Summary

Related to #1704

Switches to using execa when launching the framework server to make it easier to know when the process exits.

- Test plan

Existing tests + added a test for a specific use case when the command doesn't exists.
I'll also verify with various frameworks.

- A picture of a cute animal (not mandatory but encouraged)
🐟

@erezrokah erezrokah added the type: chore work needed to keep the product and development running smoothly label Jul 6, 2021
@github-actions
Copy link

github-actions bot commented Jul 6, 2021

📊 Benchmark results

Comparing with d451cb3

Package size: 330 MB

(no change)

^ 329 MB 329 MB 331 MB 331 MB 331 MB 331 MB 329 MB 329 MB 329 MB 329 MB 329 MB 329 MB 330 MB │ ┌──┐ ┌──┐ ┌──┐ ┌──┐ ┌──┐ ┌──┐ ┌──┐ ┌──┐ ┌──┐ ┌──┐ ┌──┐ ┌──┐ ┌──┐ │ | | | | | | | | | | | | | | | | | | | | | | | | |▒▒| │ | | | | | | | | | | | | | | | | | | | | | | | | |▒▒| │ | | | | | | | | | | | | | | | | | | | | | | | | |▒▒| │ | | | | | | | | | | | | | | | | | | | | | | | | |▒▒| │ | | | | | | | | | | | | | | | | | | | | | | | | |▒▒| │ | | | | | | | | | | | | | | | | | | | | | | | | |▒▒| │ | | | | | | | | | | | | | | | | | | | | | | | | |▒▒| │ | | | | | | | | | | | | | | | | | | | | | | | | |▒▒| │ | | | | | | | | | | | | | | | | | | | | | | | | |▒▒| │ | | | | | | | | | | | | | | | | | | | | | | | | |▒▒| │ | | | | | | | | | | | | | | | | | | | | | | | | |▒▒| │ | | | | | | | | | | | | | | | | | | | | | | | | |▒▒| │ | | | | | | | | | | | | | | | | | | | | | | | | |▒▒| │ | | | | | | | | | | | | | | | | | | | | | | | | |▒▒| │ | | | | | | | | | | | | | | | | | | | | | | | | |▒▒| │ | | | | | | | | | | | | | | | | | | | | | | | | |▒▒| │ | | | | | | | | | | | | | | | | | | | | | | | | |▒▒| │ | | | | | | | | | | | | | | | | | | | | | | | | |▒▒| │ | | | | | | | | | | | | | | | | | | | | | | | | |▒▒| │ | | | | | | | | | | | | | | | | | | | | | | | | |▒▒| └───┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴──> T-12 T-11 T-10 T-9 T-8 T-7 T-6 T-5 T-4 T-3 T-2 T-1 T 
Legend
@erezrokah erezrokah force-pushed the refactor/use_execa_framework branch from a90c35e to e1518cf Compare July 7, 2021 17:15
@erezrokah erezrokah marked this pull request as ready for review July 8, 2021 13:16
@erezrokah erezrokah requested a review from a team as a code owner July 8, 2021 13:16
@erezrokah erezrokah requested a review from ehmicky July 8, 2021 13:16
> react-scripts start␊
"npm start" exited with code *. Shutting down Netlify Dev server`
Failed launching framework server. Please verify 'npm' exists`
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't look good. Looking into it

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in f41e5b1

@erezrokah erezrokah force-pushed the refactor/use_execa_framework branch from 3b0d145 to f41e5b1 Compare July 8, 2021 18:21
@erezrokah erezrokah force-pushed the refactor/use_execa_framework branch from a386870 to 017fd40 Compare July 11, 2021 09:16
@erezrokah erezrokah enabled auto-merge (squash) July 11, 2021 09:26
@erezrokah erezrokah merged commit fd3d2f7 into main Jul 11, 2021
@erezrokah erezrokah deleted the refactor/use_execa_framework branch July 11, 2021 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: chore work needed to keep the product and development running smoothly

2 participants