cloudflare · Cloudflare Workers Docs
Workers Build watch paths
Configures Cloudflare Workers to include or exclude specific file paths or directories from triggering builds, utilizing static filepaths or wildcard syntax to optimize build frequency in monorepos.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Workers Build watch paths
Configures Cloudflare Workers to include or exclude specific file paths or directories from triggering builds, utilizing static filepaths or wildcard syntax to optimize build frequency in monorepos.
When To Use
Use when you need to limit Cloudflare Workers builds to specific directories or prevent builds from triggering on changes to non-essential files in a monorepo.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/workers-ci-cd-builds-build-watch-paths-workflow-guide.md | Documentation explaining how to configure include and exclude paths to control which repository changes trigger a Cloudflare Workers build. | Questions about documentation explaining how to configure include and exclude paths to control which repository changes trigger a Clo... |
What This Skill Covers
- When you connect a git repository to Workers, by default a change to any file in the repository will trigger a build. You can configure Workers to include or...
- Main sections:
Configure Paths,Examples,Example 1,Example 2,Example 3.
Workflow
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - Do not add behavior or configuration that is not present in the attached source files.
Canonical source: https://developers.cloudflare.com/workers/ci-cd/builds/build-watch-paths
