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
Is your feature request related to a problem? Please describe.
There is no easy way to trigger an update / rebuild during the serve command when external data changes.
This would be extremely useful in two ways:
Once external webhooks are configured, would trigger a rebuild/reload locally when content changes (better DX overall)
Would allow developers to create a "staging" site on another server that is constantly rebuilding with the newest content for preview before triggering a production build
Describe the solution you'd like
It would be awesome if the --serve command exposed a webhook that would trigger a rebuild, similar to when actual files change. Something like {url}/__rebuild
Describe alternatives you've considered
Any alternative would be awesome if it accomplished the same goal, allowing an external webhook to trigger a rebuild.
The text was updated successfully, but these errors were encountered:
mattwaler
changed the title
Include webhook during eleventy --serve for use with headless CMS / preview server
Expose webhook during eleventy --serve for use with external data
Sep 10, 2019
mattwaler
changed the title
Expose webhook during eleventy --serve for use with external data
Expose webhook during serve for use with external data
Sep 10, 2019
@mattwaler This was a while ago, but why did you close it? I've been looking for something like this for Strapi / 11ty local development and haven't found anything (maybe I've been looking in the wrong places).
Is your feature request related to a problem? Please describe.
There is no easy way to trigger an update / rebuild during the serve command when external data changes.
This would be extremely useful in two ways:
Describe the solution you'd like
It would be awesome if the --serve command exposed a webhook that would trigger a rebuild, similar to when actual files change. Something like
{url}/__rebuild
Describe alternatives you've considered
Any alternative would be awesome if it accomplished the same goal, allowing an external webhook to trigger a rebuild.
The text was updated successfully, but these errors were encountered: