Usage
Options
Enable Cloudflare Workers output in development mode. When set, the compiler will prepare artifacts compatible with Cloudflare Workers runtime.This option can also be triggered by setting the
CF_PAGES environment variable to "1".Examples
Start development server:How it works
The dev command:- Initializes the compiler context in development mode
- Watches for file changes in your source directory
- Automatically recompiles when files are modified
- Enables platform-specific features when flags are set
Development mode enables fast refresh and detailed error reporting to help you iterate quickly.
Related
build
Build for production
create
Scaffold new components