Skip to content

Ignore the directory watchers invoked in non polling watch mode with no relative file name information #27563

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

Merged
merged 2 commits into from
Oct 9, 2018

Conversation

sheetalkamat
Copy link
Member

Fixes #27326

@sheetalkamat sheetalkamat requested review from a user and RyanCavanaugh October 8, 2018 22:58
const fileName = !isString(relativeFileName)
? undefined! // TODO: GH#18217
: getNormalizedAbsolutePath(relativeFileName, dirName);
if (!isString(relativeFileName)) { return; }
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

relativeFileName is typed as string, so either this code is a noop or the type of fsWatchDirectory is wrong.

@sheetalkamat sheetalkamat merged commit 531d58f into master Oct 9, 2018
@sheetalkamat sheetalkamat deleted the nonPollingWatcher branch October 9, 2018 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant