18 Commits

Author SHA1 Message Date
Sheetal Nandi
16cf7c40a8 Watch for the automatic types that included as part of type resolution 2017-08-31 09:13:59 -07:00
Sheetal Nandi
a3b9467d41 Resolve only once in the given directory for name 2017-08-31 09:13:59 -07:00
Sheetal Nandi
254e39306f Watch failed lookups recursively to reduce number of directory watches
Also we dont need to watch type roots any more
2017-08-31 09:13:59 -07:00
Sheetal Nandi
17565d8407 Handle watches of missing directories and make project the module resolution host 2017-08-31 09:13:59 -07:00
Sheetal Nandi
5aafd3f06c Reduce number of watches for failed lookup locations as part of module resolution 2017-08-31 09:13:59 -07:00
Sheetal Nandi
4c79033894 Refactoring to watches and caching of system such that we minimize function expressions
Also unified watcher info logging
2017-08-31 09:13:59 -07:00
Sheetal Nandi
e500be28cd Adding test for #16456 to verify watched directories in case-sensitive and non sensitive file system and fixing caching 2017-08-22 11:21:02 -07:00
Sheetal Nandi
a99c04e8f9 Make the failedLookuplocations to be readonly array 2017-08-15 10:22:48 -07:00
Sheetal Nandi
136b091a4a Update based on feedback 2017-08-14 16:34:30 -07:00
Sheetal Nandi
f1b1b12604 More work based on feedback 2017-08-14 14:59:51 -07:00
Sheetal Nandi
989508245b Updating according to feedback from PR 2017-08-14 12:52:29 -07:00
Sheetal Nandi
d0a23bb876 Merge branch 'watchImprovements' into builder 2017-08-12 15:35:30 -07:00
Sheetal Nandi
6385f7e3bb Get semantic diagnostics for the program from builder so that it caches the errors of unchanged files 2017-08-07 16:18:34 -07:00
Sheetal Nandi
7474ba762c Implementation for invalidating source file containing possibly changed module resolution 2017-08-07 11:31:13 -07:00
Sheetal Nandi
8dc62484ec Partial implementation for invalidating the program (instead of source file as that would involve more work) so the files are picked up 2017-08-07 11:31:13 -07:00
Sheetal Nandi
d55150cbd3 Implementation of watching the failed lookup locations 2017-08-07 11:31:13 -07:00
Sheetal Nandi
0d5e6c9de5 Use cache for module resolution even in watch mode 2017-08-07 11:31:12 -07:00
Sheetal Nandi
46e3d1c1d9 Refactoring so that instead of just using from tsc --watch the new api is accessible all the time 2017-08-07 11:31:12 -07:00