Skip to content
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

Unable to compile projects with incremental mode enabled #1105

Closed
just-boris opened this issue Oct 4, 2019 · 0 comments · Fixed by #1106 or #1140
Closed

Unable to compile projects with incremental mode enabled #1105

just-boris opened this issue Oct 4, 2019 · 0 comments · Fixed by #1106 or #1140
Labels
bug Functionality does not match expectation

Comments

@just-boris
Copy link
Contributor

just-boris commented Oct 4, 2019

I have the following tsconfig

{
  "compilerOptions": {
    "incremental": true,
    "outDir": "dist"
  }
}

I am using this configuration file to build my code and also for tsdoc

tsc -p tsconfig.json
typedoc --tsconfig tsconfig.json --out docs

Expected Behavior

With typedoc 0.14 and typescript 3.5.3 documentation generates correctly.

Actual Behavior

With typedoc 0.15 it fails with the following error

Using TypeScript 3.5.3 from /path/to/project/node_modules/typescript/lib
Error: Option '--incremental' can only be specified using tsconfig, emitting to single file or when option `--tsBuildInfoFile` is specified.

It happened because newer typedoc upgraded the inner version of typescript so it started picking up the incremental option was ignored before.

@just-boris just-boris added the bug Functionality does not match expectation label Oct 4, 2019
just-boris added a commit to just-boris/typedoc that referenced this issue Oct 4, 2019
Gerrit0 pushed a commit that referenced this issue Oct 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Functionality does not match expectation
Projects
None yet
1 participant