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
Right now, spinning up a quick start tailworker doesn't run on local environments, even when the tail_consumers = ... is set on the producer's wrangler.toml.
import type { TraceItem } from "@cloudflare/workers-types";
import type { Env } from "./env";
export default {
async tail(events: TraceItem[], _env: Env, _ctx: ExecutionContext) {
console.log("I'm HERE")
for await (const event of events) {
console.log(event);
}
},
};
I believe this should have the same behavior as any other service binding, but maybe there are complications with intercepting console, etc? I thought this was awesome: #1503
The text was updated successfully, but these errors were encountered:
Describe the solution
Right now, spinning up a quick start tailworker doesn't run on local environments, even when the
tail_consumers = ...
is set on the producer'swrangler.toml
.I believe this should have the same behavior as any other service binding, but maybe there are complications with intercepting
console
, etc? I thought this was awesome: #1503The text was updated successfully, but these errors were encountered: