Patrick Gold
10/20/2021, 7:38 PMsst start
after previously having deployed while using the React Site construct. I’ve noticed that every time sst start
is run it clears out the deployed site whereas I expected it to spin up a separate debug stage and stack and leave the deployed stack intact. Is this intentional? Is there a way to maintain the deployed stack while also debugging - perhaps through stages? Thanks for the help!thdxr
10/20/2021, 7:39 PMdisablePlaceholder: true
option in the StaticSite propsthdxr
10/20/2021, 7:39 PMPatrick Gold
10/20/2021, 7:40 PMPatrick Gold
10/20/2021, 7:40 PMFrank
Would it just be smart to specify a different stage then?You can run
sst start
which will use ur default stage (you can find that in .sst
). And you deploy to a different stage ie. sst deploy --stage staging
, sst deploy --stage prod
. Is this what you mean?Patrick Gold
10/21/2021, 11:34 PMsst start
would just use an internal stage for its own thing and that deploy would use the default stage. Makes sense now though.