https://serverless-stack.com/ logo
#sst
Title
# sst
k

Kujtim Hoxha

01/27/2022, 12:31 PM
I noticed that during the time a
StaticSite
is being deployed the app will not work, I am assuming that some files get changed and some still are the old files and because of the files having the version on the file name (we use vite for building our UI) there is a mismatch and the UI does not load. Has anyone else seen this issue? Any way to prevent this?
t

thdxr

01/27/2022, 12:32 PM
This was the case a while ago but thought this was fixed
k

Kujtim Hoxha

01/27/2022, 12:32 PM
Weird… I think I still see that issue
f

Frank

01/27/2022, 3:46 PM
When it’s not workign again, can you copy the
sst deploy
console output? I wanted to see at which step it’s failing.
t

thdxr

01/27/2022, 3:46 PM
I think he's saying if he goes to the site during the deploy it doesn't work
k

Kujtim Hoxha

01/27/2022, 3:47 PM
Yep @thdxr is correct
f

Frank

01/27/2022, 3:48 PM
yeah.. i meant at which step of CFN update is the site failing… I’m guessing it’s after the
AWS::CloudFront::Distribution
is updated but before other resources are yet to complete updating.
k

Kujtim Hoxha

01/27/2022, 3:49 PM
Ah ok I will check when that is happening
t

thdxr

01/27/2022, 3:49 PM
ah gotcha