mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-02-01 20:23:36 +00:00
feat: enhance dev server configuration and command handling
- Updated the `/start-dev` route to accept a custom development command from project settings, allowing for greater flexibility in starting dev servers. - Implemented a new `parseCustomCommand` method in the `DevServerService` to handle custom command parsing, including support for quoted strings. - Added a new `DevServerSection` component in the UI for configuring the dev server command, featuring quick presets and auto-detection options. - Updated project settings interface to include a `devCommand` property for storing custom commands. This update improves the user experience by allowing users to specify custom commands for their development servers, enhancing the overall development workflow.
This commit is contained in:
@@ -1190,6 +1190,14 @@ export interface ProjectSettings {
|
||||
*/
|
||||
testCommand?: string;
|
||||
|
||||
// Dev Server Configuration
|
||||
/**
|
||||
* Custom command to start the development server for this project.
|
||||
* If not specified, auto-detection will be used based on project structure.
|
||||
* Examples: "npm run dev", "yarn dev", "pnpm dev", "cargo watch", "go run ."
|
||||
*/
|
||||
devCommand?: string;
|
||||
|
||||
// Phase Model Overrides (per-project)
|
||||
/**
|
||||
* Override phase model settings for this project.
|
||||
|
||||
Reference in New Issue
Block a user