Development Mode
Development mode runs with hot reload and debugging tools enabled.Start the development server
next dev --turbopack which starts the Next.js development server with Turbopack for faster builds.Access the application
Open http://localhost:3000 in your browser.The page automatically polls
/api/connections every 5 seconds to refresh process data.Development mode is ideal for making changes and testing features, but should not be used in production environments.
Production Mode
Production mode compiles and optimizes the application for better performance.Access the application
The production server runs on port 3000 by default.Open http://localhost:3000 in your browser.
Port Configuration
For background production mode with a custom port, see Production Setup.
Available Scripts
| Script | Command | Description |
|---|---|---|
dev | next dev --turbopack | Start development server with Turbopack |
build | next build | Build optimized production bundle |
start | next start | Start production server |
start:bg | nohup next start -p 30999 > /dev/null 2>&1 & | Start production server in background on port 30999 |
lint | ESLINT_USE_FLAT_CONFIG=false next lint | Run ESLint code linting |