Hello, When I run `sst deploy [stack]` it builds t...
# help
b
Hello, When I run
sst deploy [stack]
it builds the whole functions and web components for all stacks. How can I just build the constructs related to the specific stack only?
f
hmm.. this is interesting..
What we can do is if you run
sst deploy StackA
, for functions and static sites not in
StackA
, SST can automatically skip the build.
@thdxr any downside you can think of?
t
I think we talked about this before, it makes sense. Only thing is I think the other idea of always deferring these builds to the end might be better overall
f
Right.. we need to do both.. deferring them to the end, and only build the ones that belong the deployed stack
b
Hello @thdxr @Frank Can this new cdk cli feature help? https://github.com/aws/aws-cdk/commit/eb9b8e23906e2e1375f45f795d71b905bc0a52af