Sheetal Nandi
7c63658f73
Merge branch 'master' into buildWatchCaching
2019-04-30 11:24:43 -07:00
Sheetal Nandi
1e22110991
Merge branch 'master' into cacheParseConfigFile
2019-04-29 13:08:30 -07:00
Sheetal Nandi
5940eb843a
Enable caches while watch mode compilation
2019-04-26 09:15:53 -07:00
Sheetal Nandi
80f1ba4e42
Cache files extended so we arent calculating the config again and again
2019-04-24 15:51:27 -07:00
Sheetal Nandi
93b958e0ea
Share module resolution cache among different program
2019-04-24 12:47:01 -07:00
Sheetal Nandi
fecafebf76
Add getParsedCommandLine optional method on compiler host to be able to provide parsedCommandLine instead of redoing work
2019-04-24 11:57:49 -07:00
Sheetal Nandi
3fdd66bddf
Report program's source files even when there are errors when building using --build mode
2019-04-02 13:22:22 -07:00
Sheetal Nandi
34c3233d18
Allow --incremental to be command line option
2019-03-20 14:48:47 -07:00
Sheetal Nandi
e94b7d8b37
Check extended tsconfig time with oldest output time to report not upto date
2019-03-19 17:19:15 -07:00
Sheetal Nandi
8cef0c592a
Merge branch 'master' into tsconfigChangeDetection
2019-03-19 16:54:25 -07:00
Sheetal Nandi
52641c531a
Passing --force option to build, builds project from start
2019-03-15 16:04:10 -07:00
Sheetal Nandi
cabf72b514
Revert "Passing --force option to build, builds project from start"
...
This reverts commit 434fa94bdca63be629304bfde231ffa25d6754ed.
2019-03-15 16:03:36 -07:00
Sheetal Nandi
434fa94bdc
Passing --force option to build, builds project from start
2019-03-15 16:02:00 -07:00
Sheetal Nandi
ce490e1c77
Check oldest output time with tsconfig time to see if its out of date
...
Fixes #26503
2019-03-15 15:45:51 -07:00
Sheetal Nandi
b7c8e0951d
Merge branch 'master' into resolveJsonModule
2019-03-14 15:13:39 -07:00
Sheetal Nandi
a571e50143
Use EmitAndSemanticDiagnosticsBuilder in builder from tsc
2019-03-14 11:54:47 -07:00
Sheetal Nandi
bd229b5ed1
Exclude Json files from Project reference redirects from files to be emitted list
...
Fixes #30382
2019-03-14 11:22:26 -07:00
Sheetal Nandi
812ff98f61
Correct the generation of output file names for tsc --b
...
Fixes #30356
2019-03-13 11:23:14 -07:00
Sheetal Nandi
b762d6205e
Merge pull request #30344 from Microsoft/uptoDate
...
Set oldestOutputFileName in uptodate status when updating just timestamps of output
2019-03-13 10:54:59 -07:00
Sheetal Nandi
2477159782
Do not schedule updating bundle if the buildInfo file wont be generated for the project
...
Fixes #30346
2019-03-12 16:08:01 -07:00
Sheetal Nandi
ffeb38456f
Set oldestOutputFileName in uptodate status when updating just timestamps of output
...
Fixes #29875
2019-03-12 13:30:17 -07:00
Sheetal Nandi
f8ec54c223
Rename setGetSourceFileAsHashVersioned
2019-03-08 16:52:07 -08:00
Sheetal Nandi
e41cbb6316
Add incremental to normal tsc
2019-03-08 15:59:59 -08:00
Sheetal Nandi
ec47859624
Make watch use sourceFileHash so it can be used with --incremental as well
2019-03-08 15:56:08 -08:00
Sheetal Nandi
68e28da141
Build project if existing project was built with different compiler version
2019-03-08 15:14:34 -08:00
Sheetal Nandi
8e7db4d4b3
Because .tsbuildinfo is flag now, use .tsbuildinfo just like any other output to determine if project needs rebuild
2019-03-01 13:12:19 -08:00
Sheetal Nandi
d53efdf380
Changes to generation of .tsbuildinfo:
...
- If composite or incremental then only the .tsbuildinfo will be generated
- if --out or --outFile the file is outputFile.tsbuildinfo
- if rootDir and outDir then outdir/relativePathOfConfigFromRootDir/configname.tsbuildinfo
- if just outDir then outDir/configname.tsbuild
- otherwise config.tsbuildinfo next to configFile
2019-02-28 13:46:26 -08:00
Sheetal Nandi
89c4c4f684
Update the message to not just mean javascript since we might need to regenerate .d.ts as well
2019-02-21 17:52:15 -08:00
Sheetal Nandi
e9fb843e56
Add test to verify incremental build is same as if its built clean
2019-02-21 12:46:04 -08:00
Sheetal Nandi
1d77008993
Handle when no .tsbuildinfo is to be generated
2019-02-07 16:27:45 -08:00
Sheetal Nandi
e3f8c34bc9
Add mechanism to dump and read program to build info
2019-02-07 12:10:15 -08:00
Sheetal Nandi
212cd62f05
Generate buildInfo for non --out and prepend options as well
2019-02-07 12:10:14 -08:00
Sheetal Nandi
aa5d62a72c
Perform only emit on js file if no decl file change
2019-02-04 15:01:54 -08:00
Sheetal Nandi
39e37a2c57
Generate .tsbuildInfo if bundle uses references with prepend
2019-01-31 10:24:13 -08:00
Sheetal Nandi
bd769406ca
If the project only needs prepend output to be changed, prepare to just manipulate output
...
Step 1: Update the verbose log to reflect it
2019-01-31 10:24:12 -08:00
Sheetal Nandi
0d9cf96e74
Make the bundle info into buildInfo
2019-01-30 10:07:29 -08:00
Sheetal Nandi
717dad9ebf
Dont use tsbundleInfo to determine if bundle needs to be rebuilt
2019-01-29 15:29:12 -08:00
Sheetal Nandi
d5b5f8d289
Handle --clean with .tsbuildinfo
2019-01-29 13:58:47 -08:00
Sheetal Nandi
900d6f7c90
renames
2019-01-17 12:29:23 -08:00
Sheetal Nandi
9f3b77a8bd
PR feedback
2019-01-17 09:23:20 -08:00
Sheetal Nandi
e745fca413
Fix typo
2019-01-14 14:35:05 -08:00
Sheetal Nandi
ff97d86cfa
Fix typo
2019-01-14 14:00:22 -08:00
Sheetal Nandi
abc861862a
Fix typo
2019-01-10 15:18:02 -08:00
Sheetal Nandi
69abc12494
Handle declaration emit errors in tsbuild mode by backing up builder state
...
This helps us revert to state where we pretend as if emit is not done (since we do not do emit if there are errors)
2018-12-26 12:25:27 -08:00
Sheetal Nandi
7b290fdbd4
Update the timestamps of outputs that dont need to be written because of incremental build
...
This ensures that after `tsbuild` after incremental build of `tsbuild -w` doesnt result in unnecessary rebuilds
2018-12-21 12:56:03 -08:00
Sheetal Nandi
f1949bbae8
Use emit builder to emit only changed files.
2018-12-21 12:53:26 -08:00
Sheetal Nandi
47f51060e9
Use oldProgram to create the new Program.
...
This helps in storing the semantic diagnostics
2018-12-21 12:53:26 -08:00
Sheetal Nandi
56a76d8b62
Revert BuilderProgram to be redirected object to Program in preparation to set Program in state to undefined for storing.
2018-12-21 12:53:25 -08:00
Sheetal Nandi
48baa42d65
Make SolutionBuilder handle BuilderProgram in preparation to handle incremental builds
2018-12-21 12:53:25 -08:00
Sheetal Nandi
9e05abcfd3
Make BuilderProgram as Program
2018-12-21 12:53:15 -08:00