Documentation

dev Command

Start the server. Alias for 'start' - behavior is determined by NODE_ENV.

📖 Usage

Basic command syntax.

terminal
frame-master dev [options]
# Or with bunx
bunx frame-master dev

⚙️ Options

Available flags.

-v, --verboseEnable detailed logging
-h, --helpShow help

📌 Command Alias

dev and start are the same command.

💡
dev and start are aliases - they run the same server. The behavior (development vs production) is determined entirely by the NODE_ENV environment variable.
NODE_ENVBehavior
development (default)Hot reload, file watching, verbose errors
productionOptimized, minified, no file watching

🚀 Development Features

Features enabled when NODE_ENV=development.

🔥 Hot Reload

Automatically rebuilds and reloads pages when source files change. Plugins with watchFiles hook get notified of file changes.

⚡ Fast Compilation

Uses Bun's native bundler for near-instant builds. Only changed files are recompiled.

🔌 Plugin Loading

All configured plugins are loaded and their hooks are active during development.

📝 Error Overlay

Build errors and runtime errors are displayed clearly in the terminal with file locations.

💡 Example

Starting the dev server.

terminal
# Basic usage
frame-master dev
# With verbose logging
frame-master dev --verbose
# Output:
# ✓ Server started at http://localhost:3000

🎯Next Steps