-
Notifications
You must be signed in to change notification settings - Fork 12.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Watch improvements in tsserver #17269
Commits on Jul 10, 2017
-
When opening a file, if it is using existing project, there is no nee…
…d to update the project by re-reading the config file This will improve the opening file perf for file opens from same config project
Configuration menu - View commit details
-
Copy full SHA for 21ad26b - Browse repository at this point
Copy the full SHA 21ad26bView commit details -
Restructure updating the configured project from disk and actual proj…
…ect update Also reload the projects when extra extension in the host change
Configuration menu - View commit details
-
Copy full SHA for ae33ae8 - Browse repository at this point
Copy the full SHA ae33ae8View commit details -
Add project roots in the list of root files even if they arent presen…
…t on the disk This helps in reporting errors as well as syncing of the configured/external project when the files are created
Configuration menu - View commit details
-
Copy full SHA for 75698a8 - Browse repository at this point
Copy the full SHA 75698a8View commit details -
Move the server file system to handle watches on file/folder create, …
…update and delete This will ensure that the calling of watches doesnt rely on writing test correctly
Configuration menu - View commit details
-
Copy full SHA for f154910 - Browse repository at this point
Copy the full SHA f154910View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e44367 - Browse repository at this point
Copy the full SHA 0e44367View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a63827 - Browse repository at this point
Copy the full SHA 2a63827View commit details -
Reload the configured project only once even though there are multipl…
…e files open from that project
Configuration menu - View commit details
-
Copy full SHA for 96ffd53 - Browse repository at this point
Copy the full SHA 96ffd53View commit details -
When config file is deleted, apart from removing the projecty, reload…
… the configured projects for open files from that project to ensure to pick them by another config file that can be present in parent directory
Configuration menu - View commit details
-
Copy full SHA for 6bd42b8 - Browse repository at this point
Copy the full SHA 6bd42b8View commit details -
Optimize wildcard watchers and config directory watching as now we ha…
…ve missing file watching as well We dont need to explicitly watch config file directory as it will be watched: - if there was no files specified, in wild card directories - if there were files specified as missing file (if the file wasnt present)
Configuration menu - View commit details
-
Copy full SHA for df6f75b - Browse repository at this point
Copy the full SHA df6f75bView commit details -
Handle the deleted file in update graph better, so that in next updat…
…e it is possible to schedule the update graph of project
Configuration menu - View commit details
-
Copy full SHA for 9ff9476 - Browse repository at this point
Copy the full SHA 9ff9476View commit details
Commits on Jul 11, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 62871cc - Browse repository at this point
Copy the full SHA 62871ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 48c6513 - Browse repository at this point
Copy the full SHA 48c6513View commit details
Commits on Jul 12, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 19a6a00 - Browse repository at this point
Copy the full SHA 19a6a00View commit details -
Use the cached file exists/directory exists for configured project si…
…nce we watch the needed files
Configuration menu - View commit details
-
Copy full SHA for 68def1b - Browse repository at this point
Copy the full SHA 68def1bView commit details -
Fixes the fourslash runner tests by handling hosts that cannot suppor…
…t read directory or getDirectories
Configuration menu - View commit details
-
Copy full SHA for 029b1f2 - Browse repository at this point
Copy the full SHA 029b1f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for f338a70 - Browse repository at this point
Copy the full SHA f338a70View commit details
Commits on Jul 13, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 8fedcf7 - Browse repository at this point
Copy the full SHA 8fedcf7View commit details -
Allows the delayed update graph and project structure which helps in …
…batching the updates when there are multiple files added/removed/changed
Configuration menu - View commit details
-
Copy full SHA for e568976 - Browse repository at this point
Copy the full SHA e568976View commit details -
Configuration menu - View commit details
-
Copy full SHA for 048e67c - Browse repository at this point
Copy the full SHA 048e67cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0365901 - Browse repository at this point
Copy the full SHA 0365901View commit details
Commits on Jul 15, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 404aa8f - Browse repository at this point
Copy the full SHA 404aa8fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 71d79c6 - Browse repository at this point
Copy the full SHA 71d79c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for f12980d - Browse repository at this point
Copy the full SHA f12980dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 00011a5 - Browse repository at this point
Copy the full SHA 00011a5View commit details
Commits on Jul 16, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 0572b15 - Browse repository at this point
Copy the full SHA 0572b15View commit details -
Configuration menu - View commit details
-
Copy full SHA for 62663a1 - Browse repository at this point
Copy the full SHA 62663a1View commit details -
Combine the logic to find config file as well as the watch.
This should speed up the file open scenarios where the file belongs to same configured project as we would use cache to answer those fileExists answers
Configuration menu - View commit details
-
Copy full SHA for dcbd7b1 - Browse repository at this point
Copy the full SHA dcbd7b1View commit details
Commits on Jul 17, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 62ef6b1 - Browse repository at this point
Copy the full SHA 62ef6b1View commit details -
Reduce the number of watched config files by watching the chain only …
…in case of inferred root
Configuration menu - View commit details
-
Copy full SHA for 2439e7a - Browse repository at this point
Copy the full SHA 2439e7aView commit details -
Configuration menu - View commit details
-
Copy full SHA for ff34a77 - Browse repository at this point
Copy the full SHA ff34a77View commit details
Commits on Jul 20, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 1155c37 - Browse repository at this point
Copy the full SHA 1155c37View commit details
Commits on Aug 7, 2017
-
Configuration menu - View commit details
-
Copy full SHA for ae87838 - Browse repository at this point
Copy the full SHA ae87838View commit details -
Configuration menu - View commit details
-
Copy full SHA for 802e283 - Browse repository at this point
Copy the full SHA 802e283View commit details -
Configuration menu - View commit details
-
Copy full SHA for 499fabc - Browse repository at this point
Copy the full SHA 499fabcView commit details -
Make the host cache store the fileName instead of undefined for the m…
…issing host files
Configuration menu - View commit details
-
Copy full SHA for 273569f - Browse repository at this point
Copy the full SHA 273569fView commit details -
Program cannot be reused if the missing file is now present
Also dont update filesByName array just to update missing file paths
Configuration menu - View commit details
-
Copy full SHA for 94a589b - Browse repository at this point
Copy the full SHA 94a589bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ef5935b - Browse repository at this point
Copy the full SHA ef5935bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e068475 - Browse repository at this point
Copy the full SHA e068475View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6237b22 - Browse repository at this point
Copy the full SHA 6237b22View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b18f7b - Browse repository at this point
Copy the full SHA 9b18f7bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 85b9254 - Browse repository at this point
Copy the full SHA 85b9254View commit details -
Configuration menu - View commit details
-
Copy full SHA for 69e5abd - Browse repository at this point
Copy the full SHA 69e5abdView commit details -
Configuration menu - View commit details
-
Copy full SHA for c814d8e - Browse repository at this point
Copy the full SHA c814d8eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2dd6aed - Browse repository at this point
Copy the full SHA 2dd6aedView commit details -
Configuration menu - View commit details
-
Copy full SHA for 89c61e7 - Browse repository at this point
Copy the full SHA 89c61e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for bb91b32 - Browse repository at this point
Copy the full SHA bb91b32View commit details -
Refactoring so that instead of just using from tsc --watch the new ap…
…i is accessible all the time
Configuration menu - View commit details
-
Copy full SHA for 46e3d1c - Browse repository at this point
Copy the full SHA 46e3d1cView commit details -
Switch back to have tsc.ts the only file thats different in tsc.js ge…
…neration now that api has tests
Configuration menu - View commit details
-
Copy full SHA for 031a637 - Browse repository at this point
Copy the full SHA 031a637View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d5e6c9 - Browse repository at this point
Copy the full SHA 0d5e6c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2762232 - Browse repository at this point
Copy the full SHA 2762232View commit details -
Configuration menu - View commit details
-
Copy full SHA for 65a6ee0 - Browse repository at this point
Copy the full SHA 65a6ee0View commit details -
Configuration menu - View commit details
-
Copy full SHA for d55150c - Browse repository at this point
Copy the full SHA d55150cView commit details -
Partial implementation for invalidating the program (instead of sourc…
…e file as that would involve more work) so the files are picked up
Configuration menu - View commit details
-
Copy full SHA for 8dc6248 - Browse repository at this point
Copy the full SHA 8dc6248View commit details -
Implementation for invalidating source file containing possibly chang…
…ed module resolution
Configuration menu - View commit details
-
Copy full SHA for 7474ba7 - Browse repository at this point
Copy the full SHA 7474ba7View commit details -
Get semantic diagnostics for the program from builder so that it cach…
…es the errors of unchanged files
Configuration menu - View commit details
-
Copy full SHA for 6385f7e - Browse repository at this point
Copy the full SHA 6385f7eView commit details
Commits on Aug 8, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 65521bc - Browse repository at this point
Copy the full SHA 65521bcView commit details
Commits on Aug 10, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 27988bf - Browse repository at this point
Copy the full SHA 27988bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 02b8a7d - Browse repository at this point
Copy the full SHA 02b8a7dView commit details
Commits on Aug 11, 2017
-
Configuration menu - View commit details
-
Copy full SHA for f723beb - Browse repository at this point
Copy the full SHA f723bebView commit details -
Configuration menu - View commit details
-
Copy full SHA for b071a86 - Browse repository at this point
Copy the full SHA b071a86View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8db05c2 - Browse repository at this point
Copy the full SHA 8db05c2View commit details
Commits on Aug 12, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 594482d - Browse repository at this point
Copy the full SHA 594482dView commit details -
Configuration menu - View commit details
-
Copy full SHA for d0a23bb - Browse repository at this point
Copy the full SHA d0a23bbView commit details
Commits on Aug 14, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 59d07dc - Browse repository at this point
Copy the full SHA 59d07dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9895082 - Browse repository at this point
Copy the full SHA 9895082View commit details -
Configuration menu - View commit details
-
Copy full SHA for f1b1b12 - Browse repository at this point
Copy the full SHA f1b1b12View commit details -
Configuration menu - View commit details
-
Copy full SHA for 136b091 - Browse repository at this point
Copy the full SHA 136b091View commit details
Commits on Aug 15, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 6bf9133 - Browse repository at this point
Copy the full SHA 6bf9133View commit details -
Configuration menu - View commit details
-
Copy full SHA for a99c04e - Browse repository at this point
Copy the full SHA a99c04eView commit details
Commits on Aug 18, 2017
-
Configuration menu - View commit details
-
Copy full SHA for b66b752 - Browse repository at this point
Copy the full SHA b66b752View commit details -
Configuration menu - View commit details
-
Copy full SHA for da0d374 - Browse repository at this point
Copy the full SHA da0d374View commit details -
Configuration menu - View commit details
-
Copy full SHA for e639ceb - Browse repository at this point
Copy the full SHA e639cebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8deef58 - Browse repository at this point
Copy the full SHA 8deef58View commit details -
When getting default project from session, get it only if the script …
…info is not orphan Since the closed script info's that are orphan arent removed immediately but on next open request, treat the orphan script infos as if they are not present in the session
Configuration menu - View commit details
-
Copy full SHA for c425128 - Browse repository at this point
Copy the full SHA c425128View commit details -
Configuration menu - View commit details
-
Copy full SHA for d217bec - Browse repository at this point
Copy the full SHA d217becView commit details -
Configuration menu - View commit details
-
Copy full SHA for 60e2e68 - Browse repository at this point
Copy the full SHA 60e2e68View commit details
Commits on Aug 21, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 84b2e23 - Browse repository at this point
Copy the full SHA 84b2e23View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3908325 - Browse repository at this point
Copy the full SHA 3908325View commit details
Commits on Aug 22, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 7173da2 - Browse repository at this point
Copy the full SHA 7173da2View commit details -
Adding test for #16456 to verify watched directories in case-sensitiv…
…e and non sensitive file system and fixing caching
Configuration menu - View commit details
-
Copy full SHA for e500be2 - Browse repository at this point
Copy the full SHA e500be2View commit details -
In Server when polling the file stat's do not send changed event in c…
…ase the file doesnt exist.
Configuration menu - View commit details
-
Copy full SHA for 6227a36 - Browse repository at this point
Copy the full SHA 6227a36View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 55931c4 - Browse repository at this point
Copy the full SHA 55931c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for e65df12 - Browse repository at this point
Copy the full SHA e65df12View commit details -
Configuration menu - View commit details
-
Copy full SHA for e711238 - Browse repository at this point
Copy the full SHA e711238View commit details
Commits on Aug 23, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 3b85f3f - Browse repository at this point
Copy the full SHA 3b85f3fView commit details
Commits on Aug 31, 2017
-
Merge pull request #17820 from Microsoft/tsserverEventChangedFiles
Event to notify project changes
Configuration menu - View commit details
-
Copy full SHA for ea95f3b - Browse repository at this point
Copy the full SHA ea95f3bView commit details -
Merge pull request #17669 from Microsoft/builder
Improvements to tsc --watch
Configuration menu - View commit details
-
Copy full SHA for 9e570c3 - Browse repository at this point
Copy the full SHA 9e570c3View commit details -
Refactoring to watches and caching of system such that we minimize fu…
…nction expressions Also unified watcher info logging
Configuration menu - View commit details
-
Copy full SHA for 4c79033 - Browse repository at this point
Copy the full SHA 4c79033View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5aafd3f - Browse repository at this point
Copy the full SHA 5aafd3fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 17565d8 - Browse repository at this point
Copy the full SHA 17565d8View commit details -
Script infos while opening/closing shouldnt mark project as dirty if …
…the contents dont change
Configuration menu - View commit details
-
Copy full SHA for 10ea5bf - Browse repository at this point
Copy the full SHA 10ea5bfView commit details -
Watch failed lookups recursively to reduce number of directory watches
Also we dont need to watch type roots any more
Configuration menu - View commit details
-
Copy full SHA for 254e393 - Browse repository at this point
Copy the full SHA 254e393View commit details -
Configuration menu - View commit details
-
Copy full SHA for a3b9467 - Browse repository at this point
Copy the full SHA a3b9467View commit details -
Configuration menu - View commit details
-
Copy full SHA for 16cf7c4 - Browse repository at this point
Copy the full SHA 16cf7c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for d7ce95d - Browse repository at this point
Copy the full SHA d7ce95dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 345f36d - Browse repository at this point
Copy the full SHA 345f36dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b97b2c - Browse repository at this point
Copy the full SHA 2b97b2cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d5d4c2 - Browse repository at this point
Copy the full SHA 8d5d4c2View commit details
Commits on Sep 1, 2017
-
Remove the configured project if on next open file if it has no open …
…files instead of immediately when closing last open file
Configuration menu - View commit details
-
Copy full SHA for 9e5e20c - Browse repository at this point
Copy the full SHA 9e5e20cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 13aafa2 - Browse repository at this point
Copy the full SHA 13aafa2View commit details -
Test to verify calls to isProgramUptoDate return true when there is n…
…o change in compiler options
Configuration menu - View commit details
-
Copy full SHA for 6c61293 - Browse repository at this point
Copy the full SHA 6c61293View commit details
Commits on Sep 5, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 7b2bab5 - Browse repository at this point
Copy the full SHA 7b2bab5View commit details
Commits on Sep 6, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 54f64a1 - Browse repository at this point
Copy the full SHA 54f64a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ff160f - Browse repository at this point
Copy the full SHA 0ff160fView commit details -
Update how we get project/script info so that it doesnt start unneces…
…sary update graph
Configuration menu - View commit details
-
Copy full SHA for e6eede1 - Browse repository at this point
Copy the full SHA e6eede1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a5d954 - Browse repository at this point
Copy the full SHA 2a5d954View commit details -
Configuration menu - View commit details
-
Copy full SHA for 680994e - Browse repository at this point
Copy the full SHA 680994eView commit details
Commits on Sep 7, 2017
-
Invalidate resolution of the failed lookup only if its one of the def…
…ault extension or is one of the failed lookup location without that default extension
Configuration menu - View commit details
-
Copy full SHA for c8e711c - Browse repository at this point
Copy the full SHA c8e711cView commit details -
Update the test cases for project changed event since it doesnt apply…
… to the edits to open files
Configuration menu - View commit details
-
Copy full SHA for 29e93c3 - Browse repository at this point
Copy the full SHA 29e93c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for b179cd1 - Browse repository at this point
Copy the full SHA b179cd1View commit details
Commits on Sep 8, 2017
-
Limit the resolution invalidation to max number of files as invalidat…
…ion for larger cache might take more time than to just recalculate resolutions
Configuration menu - View commit details
-
Copy full SHA for 67f9533 - Browse repository at this point
Copy the full SHA 67f9533View commit details -
Add test case to verify correct resolution file is picked when curren…
…t resolution file is not removed but higher precedence file is created
Configuration menu - View commit details
-
Copy full SHA for de28d02 - Browse repository at this point
Copy the full SHA de28d02View commit details
Commits on Sep 9, 2017
-
Do not create map just to store empty reference files. Also update fi…
…le as changed if file text is same but it had invalidated resolution
Configuration menu - View commit details
-
Copy full SHA for 5739b68 - Browse repository at this point
Copy the full SHA 5739b68View commit details
Commits on Sep 11, 2017
-
Configuration menu - View commit details
-
Copy full SHA for fdb104b - Browse repository at this point
Copy the full SHA fdb104bView commit details
Commits on Sep 12, 2017
-
Configuration menu - View commit details
-
Copy full SHA for aea8630 - Browse repository at this point
Copy the full SHA aea8630View commit details -
Should not remove the reused resolutions in the file when file conten…
…ts have not changed.
Configuration menu - View commit details
-
Copy full SHA for b536f9d - Browse repository at this point
Copy the full SHA b536f9dView commit details
Commits on Sep 13, 2017
-
Simplify event sent on background project update since its anyways ju…
…st to update the error list
Configuration menu - View commit details
-
Copy full SHA for 4f7c0e5 - Browse repository at this point
Copy the full SHA 4f7c0e5View commit details
Commits on Sep 14, 2017
-
Configuration menu - View commit details
-
Copy full SHA for cf72f2a - Browse repository at this point
Copy the full SHA cf72f2aView commit details
Commits on Sep 25, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 23acff5 - Browse repository at this point
Copy the full SHA 23acff5View commit details
Commits on Sep 26, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 14febe2 - Browse repository at this point
Copy the full SHA 14febe2View commit details -
Renamed PartialSystem as DirectoryStructureHost and CachedPartialSyst…
…em as CachedDirectoryStructureHost
Configuration menu - View commit details
-
Copy full SHA for 38f3a2b - Browse repository at this point
Copy the full SHA 38f3a2bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 68d3605 - Browse repository at this point
Copy the full SHA 68d3605View commit details
Commits on Sep 29, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 9e08cae - Browse repository at this point
Copy the full SHA 9e08caeView commit details
Commits on Oct 2, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 835153b - Browse repository at this point
Copy the full SHA 835153bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 898559b - Browse repository at this point
Copy the full SHA 898559bView commit details -
Making APIs as internal so that we can enable them after we have figu…
…red out final details
Configuration menu - View commit details
-
Copy full SHA for 7f969e8 - Browse repository at this point
Copy the full SHA 7f969e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4bb4711 - Browse repository at this point
Copy the full SHA 4bb4711View commit details
Commits on Oct 3, 2017
-
Separate namespace declarations in builder of intenal and exported in…
…terfaces and functions
Configuration menu - View commit details
-
Copy full SHA for 8ac01d7 - Browse repository at this point
Copy the full SHA 8ac01d7View commit details