TypeScript: Slow behavior in '--watch'

There have been a few cases reported by customers that using --watch has been on the slow side. We should elicit feedback to understand what’s going on.

Examples:

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 18 (9 by maintainers)

Most upvoted comments

I’ve noticed this on Ubuntu (node v0.10.25). TypeScript 1.6 used to always detect changes within a second. 1.7 and 1.8 take about 2 seconds for a one-file project, and anywhere between 2-10 seconds for a large project.

It seems this only affects older versions of node. If I use node 4.0.0 or later, it’s down to less than a second again.