webpack / watchpack

Wrapper library for directory and file watching.
MIT License
377 stars 105 forks source link

do not report directory as initial missing on the second watch #227

Closed WiseBird closed 7 months ago

WiseBird commented 1 year ago

fixes #224

linux-foundation-easycla[bot] commented 1 year ago

CLA Signed

The committers listed above are authorized under a signed CLA.

codecov[bot] commented 1 year ago

Codecov Report

Base: 92.12% // Head: 77.06% // Decreases project coverage by -15.05% :warning:

Coverage data is based on head (200894e) compared to base (dc690bb). Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #227 +/- ## =========================================== - Coverage 92.12% 77.06% -15.06% =========================================== Files 6 6 Lines 1041 1042 +1 Branches 249 250 +1 =========================================== - Hits 959 803 -156 - Misses 82 239 +157 ``` | Flag | Coverage Δ | | |---|---|---| | integration | `77.06% <100.00%> (-15.06%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=webpack#carryforward-flags-in-the-pull-request-comment) to find out more. | [Impacted Files](https://codecov.io/gh/webpack/watchpack/pull/227?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=webpack) | Coverage Δ | | |---|---|---| | [lib/DirectoryWatcher.js](https://codecov.io/gh/webpack/watchpack/pull/227/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=webpack#diff-bGliL0RpcmVjdG9yeVdhdGNoZXIuanM=) | `89.10% <100.00%> (-3.47%)` | :arrow_down: | | [lib/reducePlan.js](https://codecov.io/gh/webpack/watchpack/pull/227/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=webpack#diff-bGliL3JlZHVjZVBsYW4uanM=) | `2.98% <0.00%> (-92.54%)` | :arrow_down: | | [lib/watchEventSource.js](https://codecov.io/gh/webpack/watchpack/pull/227/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=webpack#diff-bGliL3dhdGNoRXZlbnRTb3VyY2UuanM=) | `46.66% <0.00%> (-39.49%)` | :arrow_down: | | [lib/watchpack.js](https://codecov.io/gh/webpack/watchpack/pull/227/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=webpack#diff-bGliL3dhdGNocGFjay5qcw==) | `92.14% <0.00%> (-0.83%)` | :arrow_down: | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=webpack). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=webpack)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

WiseBird commented 1 year ago

Decreases project coverage by -15.05% ⚠️

@alexander-akait How is it possible? I added one line...

alexander-akait commented 1 year ago

@WiseBird I think the problem on CI side, not in code

WiseBird commented 1 year ago

@alexander-akait What should I do?