(cli): I think cdk watch
should deploy first
#17776
Labels
effort/small
Small work item – less than a day of effort
feature-request
A feature should be added or improved.
p2
package/tools
Related to AWS CDK Tools or CLI
Description
cdk watch
should start with acdk deploy
to make sure my account and my source code are in sync before watching for changes.Use Case
The point of
cdk watch
is to keep a developer account in sync with your source code as you develop. To that end, I expected that the CLI will first deploy the current version to my account before beginning to monitor files.This surprising behavior is emphasized when running
cdk deploy --watch
(which even sends a stronger semantic signal that I want to deploy).Proposed Solution
Just kick off a
cdk deploy
before watching.Other information
No response
Acknowledge
The text was updated successfully, but these errors were encountered: