-
-
Notifications
You must be signed in to change notification settings - Fork 475
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expose webhook during serve for use with external data #691
Labels
Comments
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). |
This was referenced Oct 30, 2023
I think #3085 and 11ty/eleventy-dev-server#70 should help with this, if anyone is reading and interested. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: