Sheetal Nandi
c8e711c3a3
Invalidate resolution of the failed lookup only if its one of the default extension or is one of the failed lookup location without that default extension
2017-09-06 20:03:41 -07:00
Sheetal Nandi
54f64a1695
Resolution is valid unless it is invalidated
2017-09-05 19:22:32 -07:00
Sheetal Nandi
7b2bab5b86
Revert to use refcount to keep track of directory watchers for failed lookup
2017-09-05 15:40:50 -07:00
Sheetal Nandi
8d5d4c2a0e
Reduce storage of maps/sets for failed lookups
2017-08-31 15:48:31 -07:00
Sheetal Nandi
d7ce95df25
Watch node_modules if possible
2017-08-31 09:13:59 -07:00
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
55931c46bb
Update the failed lookup watches without doing lookups.
...
This helps in not having to deal with duplicate locations and checking if there exists watch
Anyways the watches are refCount based so we would just addref and remove ref on the same watches
2017-08-22 11:21:20 -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
6bf9133461
Update to PR feedback
2017-08-14 18:51:05 -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
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