Skip to content

Watch subdirectories in project root instead of watching project root… #25811

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 1 commit into from
Jul 31, 2018

Conversation

sheetalkamat
Copy link
Member

Fixes #25629 and microsoft/vscode#51139

Instead of watching projectRoot, watch the subdirectory in it so as to ensure we arent watching the folders in projectRoot that are excluded and arent part of module resolution failed lookup locations.

… so as to avoid watching excluded directories that are not part of config file

Fixes #25629 and microsoft/vscode#51139
@sheetalkamat
Copy link
Member Author

@mhegazy can you please review this. @dbaeumer reported this helped in microsoft/vscode#51139 (comment)

@sheetalkamat sheetalkamat merged commit 7bd1c8e into master Jul 31, 2018
@sheetalkamat sheetalkamat deleted the subDirectoryOfRootWatches branch July 31, 2018 18:51
@robbiespeed
Copy link

Will this fix not make it in to 3.0.2 ?
Just noticed the milestone on the issue had changed from 3.0.1 to 3.1

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.

3 participants