Commit 236012e
authored
Add watchOptions to tsconfig and allow supplying them on command line as well (microsoft#35615)
* Create different watch options in compiler options
* Thread through the new watch options
* Actually use the options passed through for watch strategy
* Support delay on updating child directory watches
* Make watchOptions separate from compilerOptions
* Support passing watch options from command line
* Handle displaying of watchOptions1 parent 4212484 commit 236012eCopy full SHA for 236012e
40 files changed
+2,416-719Lines changed: 2416 additions & 719 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- src
- compiler
- executeCommandLine
- harness
- jsTyping
- server
- testRunner
- unittests
- config
- tscWatch
- tsserver
- tsserver
- typingsInstallerCore
- tests/baselines/reference
- api
- showConfig
- Show TSConfig with watch options
- Shows tsconfig for single option
- fallbackPolling
- synchronousWatchDirectory
- watchDirectory
- watchFile
Expand file treeCollapse file tree
Open diff view settings
Collapse file
+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
754 | 754 | |
755 | 755 | |
756 | 756 | |
757 | | - |
| 757 | + |
758 | 758 | |
759 | 759 | |
760 | 760 | |
| ||
1194 | 1194 | |
1195 | 1195 | |
1196 | 1196 | |
1197 | | - |
| 1197 | + |
Collapse file
src/compiler/commandLineParser.ts
Copy file name to clipboardExpand all lines: src/compiler/commandLineParser.ts+305-152Lines changed: 305 additions & 152 deletions
Large diffs are not rendered by default.
Collapse file
src/compiler/diagnosticMessages.json
Copy file name to clipboardExpand all lines: src/compiler/diagnosticMessages.json+28Lines changed: 28 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
3313 | 3313 | |
3314 | 3314 | |
3315 | 3315 | |
| 3316 | + |
| 3317 | + |
| 3318 | + |
| 3319 | + |
| 3320 | + |
| 3321 | + |
| 3322 | + |
| 3323 | + |
| 3324 | + |
| 3325 | + |
| 3326 | + |
| 3327 | + |
3316 | 3328 | |
3317 | 3329 | |
3318 | 3330 | |
| ||
4160 | 4172 | |
4161 | 4173 | |
4162 | 4174 | |
| 4175 | + |
| 4176 | + |
| 4177 | + |
| 4178 | + |
| 4179 | + |
| 4180 | + |
| 4181 | + |
| 4182 | + |
| 4183 | + |
| 4184 | + |
| 4185 | + |
| 4186 | + |
| 4187 | + |
| 4188 | + |
| 4189 | + |
| 4190 | + |
4163 | 4191 | |
4164 | 4192 | |
4165 | 4193 | |
|
Collapse file
+479-210Lines changed: 479 additions & 210 deletions
Large diffs are not rendered by default.
Collapse file
src/compiler/tsbuildPublic.ts
Copy file name to clipboardExpand all lines: src/compiler/tsbuildPublic.ts+17-13Lines changed: 17 additions & 13 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
205 | 205 | |
206 | 206 | |
207 | 207 | |
208 | | - |
209 | | - |
| 208 | + |
| 209 | + |
210 | 210 | |
211 | 211 | |
212 | 212 | |
| ||
232 | 232 | |
233 | 233 | |
234 | 234 | |
| 235 | + |
235 | 236 | |
236 | 237 | |
237 | 238 | |
| ||
272 | 273 | |
273 | 274 | |
274 | 275 | |
275 | | - |
| 276 | + |
276 | 277 | |
277 | 278 | |
278 | 279 | |
| ||
306 | 307 | |
307 | 308 | |
308 | 309 | |
| 310 | + |
309 | 311 | |
310 | 312 | |
311 | 313 | |
| ||
374 | 376 | |
375 | 377 | |
376 | 378 | |
377 | | - |
| 379 | + |
378 | 380 | |
379 | 381 | |
380 | 382 | |
381 | 383 | |
382 | 384 | |
383 | 385 | |
384 | 386 | |
385 | | - |
| 387 | + |
386 | 388 | |
387 | 389 | |
388 | 390 | |
| ||
1147 | 1149 | |
1148 | 1150 | |
1149 | 1151 | |
1150 | | - |
| 1152 | + |
1151 | 1153 | |
1152 | 1154 | |
1153 | 1155 | |
| ||
1751 | 1753 | |
1752 | 1754 | |
1753 | 1755 | |
1754 | | - |
| 1756 | + |
1755 | 1757 | |
1756 | 1758 | |
1757 | 1759 | |
| ||
1760 | 1762 | |
1761 | 1763 | |
1762 | 1764 | |
| 1765 | + |
1763 | 1766 | |
1764 | 1767 | |
1765 | 1768 | |
| ||
1820 | 1823 | |
1821 | 1824 | |
1822 | 1825 | |
| 1826 | + |
1823 | 1827 | |
1824 | 1828 | |
1825 | 1829 | |
| ||
1837 | 1841 | |
1838 | 1842 | |
1839 | 1843 | |
| 1844 | + |
1840 | 1845 | |
1841 | 1846 | |
1842 | 1847 | |
| ||
1851 | 1856 | |
1852 | 1857 | |
1853 | 1858 | |
1854 | | - |
1855 | | - |
1856 | | - |
1857 | 1859 | |
| 1860 | + |
| 1861 | + |
1858 | 1862 | |
1859 | 1863 | |
1860 | 1864 | |
| ||
1870 | 1874 | |
1871 | 1875 | |
1872 | 1876 | |
1873 | | - |
1874 | | - |
1875 | | - |
| 1877 | + |
| 1878 | + |
| 1879 | + |
1876 | 1880 | |
1877 | 1881 | |
1878 | 1882 | |
|
Collapse file
+33-2Lines changed: 33 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
4929 | 4929 | |
4930 | 4930 | |
4931 | 4931 | |
| 4932 | + |
| 4933 | + |
| 4934 | + |
| 4935 | + |
| 4936 | + |
| 4937 | + |
| 4938 | + |
| 4939 | + |
| 4940 | + |
| 4941 | + |
| 4942 | + |
| 4943 | + |
| 4944 | + |
| 4945 | + |
| 4946 | + |
| 4947 | + |
| 4948 | + |
| 4949 | + |
| 4950 | + |
| 4951 | + |
4932 | 4952 | |
4933 | 4953 | |
4934 | 4954 | |
| ||
5043 | 5063 | |
5044 | 5064 | |
5045 | 5065 | |
| 5066 | + |
| 5067 | + |
| 5068 | + |
| 5069 | + |
| 5070 | + |
| 5071 | + |
| 5072 | + |
| 5073 | + |
| 5074 | + |
5046 | 5075 | |
5047 | 5076 | |
5048 | 5077 | |
| ||
5130 | 5159 | |
5131 | 5160 | |
5132 | 5161 | |
| 5162 | + |
5133 | 5163 | |
5134 | 5164 | |
5135 | 5165 | |
| ||
5210 | 5240 | |
5211 | 5241 | |
5212 | 5242 | |
5213 | | - |
| 5243 | + |
| 5244 | + |
5214 | 5245 | |
5215 | 5246 | |
5216 | 5247 | |
| ||
5219 | 5250 | |
5220 | 5251 | |
5221 | 5252 | |
5222 | | - |
| 5253 | + |
5223 | 5254 | |
5224 | 5255 | |
5225 | 5256 | |
|
Collapse file
+6-4Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
89 | 89 | |
90 | 90 | |
91 | 91 | |
92 | | - |
| 92 | + |
93 | 93 | |
94 | 94 | |
95 | | - |
| 95 | + |
96 | 96 | |
97 | 97 | |
98 | 98 | |
| ||
419 | 419 | |
420 | 420 | |
421 | 421 | |
422 | | - |
| 422 | + |
423 | 423 | |
424 | 424 | |
425 | 425 | |
426 | 426 | |
427 | 427 | |
| 428 | + |
428 | 429 | |
429 | 430 | |
430 | 431 | |
431 | 432 | |
432 | 433 | |
433 | 434 | |
434 | | - |
| 435 | + |
435 | 436 | |
436 | 437 | |
437 | 438 | |
| 439 | + |
438 | 440 | |
439 | 441 | |
440 | 442 | |
|
0 commit comments