workers-sdk
workers-sdk copied to clipboard
🐛 BUG:how to avoid wrangler server down when [build].command run error
Which Cloudflare product(s) does this pertain to?
Wrangler
What version(s) of the tool(s) are you using?
3.80.5
What version of Node are you using?
v20.12.0
What operating system and version are you using?
windows 11
Describe the Bug
Observed behavior
when writing code sometimes will save can't complied code. then wrangler will run [build].command config in wrangler.toml. i try to wapper it in cargo watch but it could't show [wrangler:inf] Ready on http://127.0.0.1:8787.
Expected behavior
server not down or support cargo watch
Steps to reproduce
Please provide the following: [build] #command = "cargo install -q worker-build && cargo watch -s "worker-build --dev"" command = "cargo install -q worker-build && worker-build --dev"
Please provide a link to a minimal reproduction
No response
Please provide any relevant error logs
No response