Skip to content

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

Description

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

BugA bug in TypeScript

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions