cdk validate adds --watch
Introduced 2026-07-30 · score 0.95
HOW TO USE IT
When you want continuous CDK app validation while editing, run `cdk validate --watch`.
cdk validate --watchWHY THIS HELPS
Continuously validate a CDK app while editing it.
REQUIREMENTS AND LIMITATIONS
- Version: 2.1134.0
- --watch: Enables the `watchValidate` action. The available official docs do not specify whether it watches all files or how watching behaves.
- Prerequisite: Install the AWS CDK CLI using npm; the official guide documents `npm install -g aws-cdk` and installation of a specific version with `npm install -g aws-cdk@X.YY.Z`.
FIRST-PARTY EVIDENCE
- https://github.com/aws/aws-cdk-cli/releases/tag/aws-cdk%40v2.1134.0
- https://docs.aws.amazon.com/cdk/v2/guide/cli.html
Check the installed version and the source before using it. Entry JSON