Skip to content
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

This fixes the issue with tsc --watch when module emit kind is none and directory watcher gets invoked instead of file #19263

Merged
merged 2 commits into from
Oct 17, 2017

Conversation

sheetalkamat
Copy link
Member

This handles the case when directory watcher is invoked instead of file watcher for the changes in the file.
This only needs handling tsc --watch callback since from tsserver side we don't do anything specific with file changed or when file added to the directory.
Also this is only issue when module emit kind is none = builder will use non emit handler which means that it wont do any extra checks if file versions have not changed hence not facing this issue otherwise.
Fixes #19206

@sheetalkamat sheetalkamat merged commit e99e933 into master Oct 17, 2017
@sheetalkamat sheetalkamat deleted the directoryWatcherInsteadOfFileWatch branch October 17, 2017 22:08
@microsoft microsoft locked and limited conversation to collaborators Jun 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants