TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/kevinrodriguezmorales/siget/llms.txt
Use this file to discover all available pages before exploring further.
ng serve command launches a local development server for the Siget application using the @angular/build:dev-server builder. It compiles your application in development mode by default, watches source files for changes, and automatically reloads the browser — making it the primary workflow command during day-to-day development.
Synopsis
Options
| Option | Type | Default | Description |
|---|---|---|---|
--port | number | 4200 | Port number to listen on |
--host | string | localhost | Hostname or IP address to bind the server to |
--open / -o | boolean | false | Automatically open the app in the default browser after starting |
--configuration / -c | string | development | Named build configuration to use (e.g. production, development) |
--watch | boolean | true | Rebuild and reload on source file changes |
--ssl | boolean | false | Serve the application over HTTPS |
Examples
The
npm start script in package.json maps directly to ng serve, so both commands are equivalent. Use whichever fits your workflow.Configuration in angular.json
Siget’sserve architect target is defined in angular.json and delegates to @angular/build:dev-server. Each named configuration points to the corresponding build target so the dev server always uses the correct compiler options.
defaultConfiguration is set to development, which means ng serve always starts in development mode unless you override it with --configuration. The development build configuration disables optimization and enables source maps, giving you fast rebuilds and readable stack traces while you work.