60 Commits

Author SHA1 Message Date
Sheetal Nandi
a0fe072fa7
Merge pull request #22613 from Microsoft/configFileErrors
Make config file parsing errors available through program and expose API
2018-03-29 13:08:03 -07:00
Sheetal Nandi
d8bf95ff10 PR feedback 2018-03-29 09:13:03 -07:00
Sheetal Nandi
f885cd971e Do not watch child directories of the sym link folders
Fixes #22668
2018-03-28 21:11:13 -07:00
Sheetal Nandi
e40f2943b1 Revert "Do not watch child directories of the sym link folders"
This reverts commit 3280865049a0036f0be580056f815dac1bb9e031.
2018-03-28 21:10:29 -07:00
Sheetal Nandi
3280865049 Do not watch child directories of the sym link folders
Fixes #22668
2018-03-28 18:37:07 -07:00
Sheetal Nandi
306ed1291b Invalidate resolutions from typeRoots watch event as a fallback mechanism
There are times when the directory watcher for failed lookup locations isnt invoked and is not very determinitstic
So as a fallback, when we receive typeRoots watch event, handle failed lookup locations as well
2018-03-22 13:54:41 -07:00
Sheetal Nandi
020f046696 Fix when program module resolution in watch mode when node_modules folder itself gets the rename event
Fixes #22712
2018-03-20 12:10:13 -07:00
Sheetal Nandi
66c690d401 Better test to see when console clearing happens 2018-03-15 14:46:43 -07:00
Sheetal Nandi
d8fe6ed01a Instead of using current time, use predefined time for modification to ensure we can detect changes correctly and arent timing dependent
Fixes #22455
2018-03-13 17:05:16 -07:00
Sheetal Nandi
a20a00e222 Enable the commented out test and convert folder entries to sorted list 2018-03-09 13:59:12 -08:00
Sheetal Nandi
ae8637c99f Merge branch 'master' into watchOptions 2018-03-03 10:51:59 -08:00
Andy
a564912d9a
Apply 'no-unnecessary-qualifier' lint rule (#22009) 2018-03-01 14:20:18 -08:00
Andy
fa4619c5c1
Add 'info' diagnostics (#22204)
* Add 'info' diagnostics

* Code review
2018-02-28 11:16:32 -08:00
Sheetal Nandi
9a160f2079 Merge branch 'master' into watchOptions 2018-02-21 10:44:12 -08:00
Benjamin Lichtman
f989ef7261
Merge pull request #21004 from uniqueiniquity/updateATA
Enable typings cache entries to expire and be updated
2018-02-09 14:17:26 -08:00
Sheetal Nandi
384aad6906 Add test case for file change happening as part of file create and delete 2018-02-06 10:50:32 -08:00
Sheetal Nandi
a74e54ed69 Merge branch 'master' into watchOptions 2018-01-22 11:16:23 -08:00
Sheetal Nandi
ed23ca582a Merge branch 'master' into builderApi 2018-01-17 16:11:44 -08:00
Sheetal Nandi
56d754cf0f Add watchDirectory to be using dynamic polling 2018-01-17 12:59:11 -08:00
Sheetal Nandi
ab17600e86 Improve test to verify the count of callbacks for the watched directories through watchFile 2018-01-17 12:59:11 -08:00
Sheetal Nandi
c3db9fadb0 Add tests for #19989, #20023 2018-01-17 12:59:11 -08:00
Sheetal Nandi
0c04fb1803 Add support to test when watching directories through watchFile 2018-01-17 12:59:11 -08:00
Sheetal Nandi
787c995985 Allow recursive directory watching on non supported file system 2018-01-17 12:59:10 -08:00
Sheetal Nandi
fa8d4cba78 Move the polling settings to sys instead of watch utilities 2018-01-17 12:59:10 -08:00
Sheetal Nandi
c3b9904190 Add test to verify timeout queues 2018-01-17 12:59:10 -08:00
Sheetal Nandi
5bd3f97b18 Merge branch 'master' into builderApi 2018-01-16 11:14:39 -08:00
Sheetal Nandi
428e0529fd Rename through all projects with the same file symLink 2018-01-12 16:24:04 -08:00
Sheetal Nandi
ef7f131398 Add test case for symLink and rename 2018-01-11 17:27:22 -08:00
uniqueiniquity
0b47a2dcfe Add tests 2018-01-11 12:58:21 -08:00
Sheetal Nandi
90a1df9d92 Add test for failure to use correct current directory in inferred project
Test for #21040
2018-01-09 15:59:55 -08:00
Sheetal Nandi
5bc78afcbb Merge branch 'master' into builderApi 2018-01-08 13:01:09 -08:00
Wesley Wigham
79a1240a19 Revert merge pull request #20429 (removing chai) (#20654)
* Revert "Merge pull request #20429 from Microsoft/unchai"

This reverts commit 66ec938164b61a7a9e14214f36bf58edc11c7609, reversing
changes made to 37a40561ac4c4cb1f970ade5fff2389d954593f6.

* Update lockfile
2017-12-13 06:49:50 -08:00
Sheetal Nandi
2611c9b339 Merge branch 'master' into builderApi 2017-12-07 20:23:15 -08:00
Andy
18a7c3fb53
For import fix, prefer symlink over a real path (#20395)
* For import fix, prefer symlink over a real path

* fixes

* Use best result from all symlinks

* Make originalPath optional more

* Only include real path if a symlink isn't available
2017-12-06 11:27:38 -08:00
Sheetal Nandi
f046d82034 Merge branch 'master' into builderApi 2017-12-05 11:45:26 -08:00
Sheetal Nandi
374536ba32 Merge branch 'master' into builderApi 2017-12-04 14:21:15 -08:00
andy-ms
72b7d6ef4e Remove dependency on chai 2017-12-03 18:36:29 -08:00
Josh Goldberg
08c6dc99c6 "tsc --watch should clear screen on new compilation" Two: Electric Boogaloo (#20389)
* tsc --watch should clear screen on new compilation

* added optional clearScreen method to System]
* implemented via `x1Bc`, reset screen
* fixes 13020

* Feedback on if statements; api .d.ts baseline additions

* Stopped clearing screen in tsc.js's reportWatchMode

* Added unit tests
2017-12-02 11:11:49 -08:00
Sheetal Nandi
576fe1e995 Expose the watch and builder API in the typescript.d.ts 2017-11-22 11:48:50 -08:00
Ryan Cavanaugh
a416826b64 Apply safelist exclusions even when include is not specified; recompute project contexts when installer reqs finish 2017-11-16 12:52:30 -08:00
Sheetal Nandi
57be7ff3f6 Add test case when inside wild card watched directory folder is renamed 2017-11-06 14:38:33 -08:00
Sheetal Nandi
668ac10890 Test where script info path and program path differ because of current directory 2017-11-03 11:51:16 -07:00
Sheetal Nandi
2d5331edde Handle cases when npm install doesnt get triggered with the actual file added
Fixes #19597
2017-11-02 13:45:50 -07:00
Wesley Wigham
63dcdef6cf Use minimal lib for projects tests (#19488) 2017-10-25 22:10:16 -07:00
Sheetal Nandi
bd0c2103cf Merge branch 'master' into directoryWatcherInsteadOfFileWatch 2017-10-17 14:34:40 -07:00
Sheetal Nandi
a5861af00e Handle when directory watcher is invoked on file change
Fixes #19206
2017-10-17 14:13:12 -07:00
Sheetal Nandi
49cfbb438f Added test for windows style paths watched directories 2017-10-17 12:18:17 -07:00
Sheetal Nandi
bce77fdfd9 Merge pull request #18960 from Microsoft/builderHandlesChangeInResolution
Builder handles changes in resolution/references when file's contents dont change
2017-10-11 12:11:44 -07:00
Sheetal Nandi
993890f06c Verify errors more correctly in tsc-watch mode 2017-10-10 21:11:33 -07:00
Sheetal Nandi
2facead886 Update tests after the merge from master 2017-10-05 09:54:21 -07:00