Skip to content

High CPU when using --watch on 2000+ files (roughly 40megs) #19762

Closed
@eyalellenbogen

Description

@eyalellenbogen

Code

tsc -w

TypeScript version:
2.6.1 (reproduces in previous versions as well)

Expected behavior:
To not hog CPU when watching (not while compiling).

Actual behavior:
tsc node process occupies 30-40% CPU while idle in watch.

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScript

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions