Nuxt and web hooks

Hi,

I've been having this problem for awhile now with nuxt apps when updating content I have to rebuild the app and re-deploy before the changes take effect. I'm using Vercel with their web hooks but it doesn't seem to make any difference. The app is configured as 'universal' and I use nuxt generate to create and deploy the app in Vercel. In order to get the content to update dynamically would it be better to configure with mode "server" and use nuxt build to deploy ?

Thanks

Hi Paul,

Your app should rebuild whenever it gets a trigger from Pismic when using deploy hooks such as this

https://api.zeit.co/v1/integrations/deploy/xxx

Did you check if your application is rebuilding on a Prismic change?

For more information about Prismic Webhooks here is an article we have updated recently the explains the feature in detail.

Looking forward to your reply,
Fares

Hi Fares,

Thank you for your reply, you do make it sound as if I haven't done this before, and this is the whole point, the webhook has been triggered but the application is not rebuilding ! And yes I have read the article on web hooks and it doesn't help in this instance.

Best wishes,

Paul

Fares Fares Droubi Education team
November 18

Hi Paul,

Your app should rebuild whenever it gets a trigger from Pismic when using deploy hooks such as this

[https://api.zeit.co/v1/integrations/deploy/xxx](https://api.zeit.co/v1/integrations/deploy/xxx)

Did you check if your application is rebuilding on a Prismic change?

For more information about Prismic Webhooks here is an article we have updated recently the explains the feature in detail.

Looking forward to your reply,
Fares