You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am facing a little annoyance and I am hoping other people have fixed it. I can't really seem to find anything about it via Google.
I have a Laravel application with a Vue frontend compiled by Vite. I deploy it on Forge with a deploy script like:
cd /home/forge/mywebsite.com
git checkout .
git pull origin $FORGE_SITE_BRANCH
# PHP stuff ...
npm i
npm run build
During each deploy, I notice a few 'Vite manifest not found' exceptions within a 2-3 second window. I think this is the time when the old manifest is removed but the new one has not yet replaced it.
Is there any way to prevent the laravel-vite plugin from deleting the old manifest before the new one is done?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey guys,
I am facing a little annoyance and I am hoping other people have fixed it. I can't really seem to find anything about it via Google.
I have a Laravel application with a Vue frontend compiled by Vite. I deploy it on Forge with a deploy script like:
During each deploy, I notice a few 'Vite manifest not found' exceptions within a 2-3 second window. I think this is the time when the old manifest is removed but the new one has not yet replaced it.
Is there any way to prevent the laravel-vite plugin from deleting the old manifest before the new one is done?
Many thanks in advance!
Cas
Beta Was this translation helpful? Give feedback.
All reactions