Skip to content

fs.watch throws exception when recursive is used in incompatible platform - #29947

Closed
exx8 wants to merge 15 commits into
nodejs:masterfrom
exx8:recursive_err
Closed

exx8 wants to merge 15 commits into
nodejs:masterfrom
exx8:recursive_err

Conversation

@exx8

@exx8 exx8 commented Oct 12, 2019 •

Copy link
Copy Markdown

This pull request makes fs.watch throw exception whenever it is used in an incompatible platform.
For this change following changes were made to api:

  1. A new error type has been introduced.
  2. fs.watch has been changed accordingly.
Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

Solves #29901
This is a breaking change.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs with CI started, the required approvals, and no outstanding review comments. errors Issues and PRs related to JavaScript errors originating in Node.js core. fs Issues and PRs related to file-system APIs and the fs module. notable-change PRs with changes that should be highlighted in changelogs. semver-major PRs that contain breaking changes and should be released in the next major version.

Projects

None yet

Development

Successfully merging this pull request may close these issues.