Microsoft/TypeScript — pull request #367 by DanielRosenwasser (2014-08-06 01:31:16+00:00)
Title: Fixed memory leak when using '--watch' flag.

We were actually nesting closure environments with each new `getSourceFile`. Instead we now just aggregate the source files into a map.

Fixes #366.