inngest / envelop-plugin-inngest

An envelop plugin that sends GraphQL response data to Inngest to help build event-driven applications.
MIT License
10 stars 3 forks source link

`servePath` and `inngest:dev` url mismatch #180

Open Tobbe opened 1 year ago

Tobbe commented 1 year ago

The serve() function defaults to ./redwood/functions/inngest

export const handler = serve(inngest, inngestFunctions, {
  servePath: '/.redwood/functions/inngest',

The inngest:dev command defaults to http://localhost:8911/inngest. They should match for the dev server to know where to connect.

dthyresson commented 1 year ago

Good catch. Also, the docs/readme needs to be updated to note that they must be the same.