Hello guys, small question: We work on multiple fe...
# help
m
Hello guys, small question: We work on multiple feature branches and the first
sst start
always takes so long for the
ReactStaticSite
construct. Is there a way to speed it the first deploy up?
t
How often do you do the first deploy? Should only happen once unless you destroy the stacks
m
Since we destroy the stacks after we merged the feature branch we pretty much have to run the first deploy every time a new feature branch gets created. I mean maybe there is a better way to do this that we don't know of yet.
t
For local development typically you use a static stage for yourself
per branch environments can be created in CI but you typically don't need to use sst start with them
That said that first run on staticsite is annoying we have an issue for it which we should fix
m
Yeah that makes sense We should maybe just use static stages. Still as you mentioned yourself the first run takes ages setting up something Cloundfront related. We thought there might be a flag that we could pass to skip that in local development.