Skip to content

Commit

Permalink
Run validation in watch mode
Browse files Browse the repository at this point in the history
Fixes #2584
  • Loading branch information
Gerrit0 committed Jun 9, 2024
1 parent b86a9b6 commit d9096d0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
- Fixed issue where search results could not be navigated while Windows Narrator was on, #2563.
- `charset` is now correctly cased in `<meta>` tag generated by the default theme, #2568.
- Fixed very slow conversion on Windows where Msys git was used by typedoc to discover repository links, #2586.
- Validation will now be run in watch mode, #2584.
- The `--hideParameterTypesInTitle` option no longer applies when rendering function types.
- Fixed `externalSymbolLinkMappings` option's support for [meanings](https://typedoc.org/guides/declaration-references/#meaning) in declaration references.
- Buttons to copy code now have the `type=button` attribute set to avoid being treated as submit buttons.
Expand Down
2 changes: 2 additions & 0 deletions src/lib/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ async function run(app: td.Application) {

if (app.options.getValue("watch")) {
app.convertAndWatch(async (project) => {
app.validate(project);

const json = app.options.getValue("json");

if (!json || app.options.isSet("out")) {
Expand Down

0 comments on commit d9096d0

Please sign in to comment.