Skip to content

tsc --watch gives diagnostic if file renamed #19989

Closed
@ghost

Description

TypeScript Version: 2.7.0-dev.20171112
Tested on Linux Mint 18.

Code

Create a project with a tsconfig.json of just {} and an empty file src/a.ts.
Run tsc --watch.
Rename a.ts to b.ts.

Expected behavior:

No error.

Actual behavior:

error TS6053: File '/home/andy/sample/ts/src/a.ts' not found.

CC @sheetalkamat

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptFixedA PR has been merged for this issue

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions