cloudflare / cloudflare/workers-sdk

🐛 BUG: `--watch` doesn't work for anything other than the literal Functions code in `wrangler pages functions build`

Open
#2,856 1 comment 0 reactions 4 assignees Claimed by @stritt View on GitHub
package:wrangler product:pages
Dominant language
TypeScript
Stars
4.5k
Forks
1.5k
Avg merge
3d 8h
Merged PRs (30d)
187

Description

### Which Cloudflare product(s) does this pertain to?

Pages

### What version of `Wrangler` are you using?

2.12.0

### What operating system are you using?

macOS

### Describe the Bug

`wrangler pages functions build --watch` only watches the esbuild Functions compilation, not any of the config files or the ultimate `--outfile`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.