fs.watch throws exception when recursive is used in incompatible platform by exx8 · Pull Request #29947 · nodejs/node
added
errors
labels
Oct 12, 2019
Trott
added
the
semver-major
label
Oct 16, 2019
addaleax
added
the
author ready
label
Oct 17, 2019Eran Levin and others added 6 commits
January 24, 2020 05:56
Trott
added
the
author ready
label
Jan 24, 2020Trott pushed a commit that referenced this pull request
Jan 25, 2020This 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. Users who use recursive on non-windows and osx platforms, will face a new exception. For this reason, it's a breaking change. Fixes: #29901 PR-URL: #29947 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
MylesBorins pushed a commit that referenced this pull request
Jan 30, 2020This makes sure this function stays backwards compatible in case it's accessed through the binding directly. Refs: #29947 (comment) Backport-PR-URL: #31431 PR-URL: #30858 Refs: #30767 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Anna Henningsen <anna@addaleax.net>
BethGriggs pushed a commit that referenced this pull request
Feb 6, 2020This makes sure this function stays backwards compatible in case it's accessed through the binding directly. Refs: #29947 (comment) Backport-PR-URL: #31431 PR-URL: #30858 Refs: #30767 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Anna Henningsen <anna@addaleax.net>
molant added a commit to molant/cli that referenced this pull request
Feb 19, 2020Use `chokidar` to track file system changes as soon it will throw an
error if the platform does not support `{ recursive: true }`.
Fix also an error where the built file was not being deleted when the
source was removed.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Fix react-native-community#989
Ref: nodejs/node#29947
molant added a commit to molant/cli that referenced this pull request
Feb 19, 2020Use `chokidar` to track file system changes as soon it will throw an
error if the platform does not support `{ recursive: true }`.
Fix also an error where the built file was not being deleted when the
source was removed.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Fix react-native-community#989
Ref: nodejs/node#29947
thymikee pushed a commit to react-native-community/cli that referenced this pull request
Feb 20, 2020Use `chokidar` to track file system changes as soon it will throw an
error if the platform does not support `{ recursive: true }`.
Fix also an error where the built file was not being deleted when the
source was removed.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Fix #989
Ref: nodejs/node#29947
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters