Skip to content

No watch file when extraFileExtensions on WatchCompilerHost  #40495

@yoyo930021

Description

@yoyo930021

TypeScript Version: 3.9 up

Search Terms:
extraFileExtensions, WatchCompilerHost, vue

Code
https://github.com/yoyo930021/TypeScript/blob/970d435c8d5848a369b5516a5e597f63f50afae6/src/testRunner/unittests/tscWatch/watchApi.ts#L127
The code is a test about this.
When filename ends with ts, It is pass,
but filename ends with vue, it isn't pass.

Expected behavior:
The test is pass.

Actual behavior:
The test is not pass.

Playground Link:
No

Related Issues:
No

The typescript-eslint tool is broken when vue with typescript 3.9.
The @sheetalkamat add a PR to fix it in #37726.
But this PR is only work in startup.
When we add a new file, The WatchCompilerHost isn't watch this.

ref: typescript-eslint/typescript-eslint#2127

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptFix AvailableA PR has been opened for this issue

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions