-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
dev: don't exit immediately in ./dev ui watch #76742
dev: don't exit immediately in ./dev ui watch #76742
Conversation
I suspect |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧑🔬 Worth bumping DEV_VERSION, we've done it for less.
On it! What's your preference: separate commit in the same PR, separate PR, or just one commit? |
You can do it in the same commit, same PR. No reason to separate it out. |
4266d95
to
a389d78
Compare
bors r+ |
This PR was included in a batch that was canceled, it will be automatically retried |
Build failed (retrying...): |
bors r- |
Canceled. |
Looks like you should |
D'oh, you're right. The original version also included a |
a389d78
to
7248624
Compare
Ah! Looks like this got weird with the switch to datadriven testing in 43f4b29 (dev: test using datadriven, 2022-02-03), but it should be all good now 😃 |
./dev ui watch previously didn't wait for the command context for webpack commands to complete before returning. This caused the 'watch' subcommand to stop immediately, then the 'ui' subcommand, then the entire 'dev' command to stop, exiting the entire process likely before webpack could even start. Wait for the webpack commands to complete (which they never should, since they're meant to run indefinitely) before returning from ./dev ui watch's implementation. Release note: None
7248624
to
c09fad8
Compare
I'll bors on your behalf to make up for the delayed review. Thanks Sean! bors r+ |
Build succeeded: |
./dev ui watch previously didn't wait for the command context for webpack commands to complete before returning. This caused the 'watch' subcommand to stop immediately, then the 'ui' subcommand, then the entire 'dev' command to stop, exiting the entire process likely before webpack could even start. Wait for the webpack commands to complete (which they never should, since they're meant to run indefinitely) before returning from ./dev ui watch's implementation.
Release note: None