Skip to content

Watch mode not working after upgrade to 0.25.0 #2378

Closed
@HemalPatil

Description

@HemalPatil

Search terms

Watch mode

Expected Behavior

Use TypeScript's incremental compiler to watch source files for changes and build the docs on change.

Actual Behavior

Does not create docs in the watch mode and exits prematurely.

Steps to reproduce the bug

  1. Upgraded to [email protected] to allow support for [email protected].
  2. Checkout https://github.com/HemalPatil/td-bug
  3. Do npm install and then npm run watch:docs.
  4. Expected to see docs generated in watch mode like it did with [email protected].
  5. If you change the typedoc version back to 0.24.8 in the package.json in sample repo and install the dependencies (may have to do force install because of missing typescript peer dependency), this feature works fine.

Have the configs for watch mode changed? Seems unlikely after reading the official TypeDoc docs.

Environment

  • Typedoc version: 0.25.0
  • TypeScript version: 5.2.2
  • Node.js version: 18.17.1
  • OS: Ubuntu 22.04 and MacOS 13

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions