Skip to content

Commit a9a9e44

Browse files
CarmenPopoviciumaxvp
authored andcommitted
[Workers] Update email routing and cron triggers local dev pages (#24618)
Update email routing and cron triggers local dev pages to reflect that the local development story is now also supported by the Cloudflare vite plugin.
1 parent 0cee845 commit a9a9e44

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/content/docs/email-routing/email-workers/local-development.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ sidebar:
88

99
import { Render, Type, MetaInfo, WranglerConfig } from "~/components";
1010

11-
You can test the behavior of an Email Worker script in local development using [wrangler dev](/workers/wrangler/commands/#dev).
11+
You can test the behavior of an Email Worker script in local development using Wrangler with [wrangler dev](/workers/wrangler/commands/#dev), or using the [Cloudflare Vite plugin](https://developers.cloudflare.com/workers/vite-plugin/).
1212

1313
This is the minimal wrangler configuration required to run an Email Worker locally:
1414

src/content/docs/workers/configuration/cron-triggers.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ Some common time intervals that may be useful for setting up your Cron Trigger:
173173

174174
## Test Cron Triggers locally
175175

176-
Test Cron Triggers using Wrangler with [`wrangler dev`](/workers/wrangler/commands/#dev). This will expose a `/cdn-cgi/handler/scheduled` route which can be used to test using a HTTP request.
176+
Test Cron Triggers using Wrangler with [`wrangler dev`](/workers/wrangler/commands/#dev), or using the [Cloudflare Vite plugin](https://developers.cloudflare.com/workers/vite-plugin/). This will expose a `/cdn-cgi/handler/scheduled` route which can be used to test using a HTTP request.
177177

178178
```sh
179179
curl "http://localhost:8787/cdn-cgi/handler/scheduled"

0 commit comments

Comments
 (0)