-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Support watch mode in yarn, gradle and containers #5803
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
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Thank you for your contribution! ❤️You can try out this pull request locally by installing Rollup via npm install rollup/rollup#gh-5649_fix_watch_mode Notice: Ensure you have installed the latest stable Rust toolchain. If you haven't installed it yet, please see https://www.rust-lang.org/tools/install to learn how to download Rustup and install Rust. or load it into the REPL: |
Performance report
|
49c2393
to
83ff57b
Compare
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.
Thanks, I tested this and it works well 👍
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #5803 +/- ##
==========================================
- Coverage 99.01% 98.79% -0.23%
==========================================
Files 259 259
Lines 8117 8114 -3
Branches 1370 1369 -1
==========================================
- Hits 8037 8016 -21
- Misses 53 72 +19
+ Partials 27 26 -1 ☔ View full report in Codecov by Sentry. |
2743b9b
to
4d76a46
Compare
4d76a46
to
2d29f9f
Compare
2d29f9f
to
07abb37
Compare
This PR has been released as part of rollup@4.31.0. You can test it via |
This PR contains:
Are tests included?
Breaking Changes?
List any relevant issue numbers:
Description
There was a logic to stop watch mode when stdin closes when running in a non-TTY context. I think this logic was not really serving a purpose as it does not make sense to run watch mode in a pipe IMO. However, it was breaking watch mode when running it from yarn, gradle, or docker containers. This is fixed here.