feat(mise): add development task shortcuts
- feat: add dev:api, dev:web, and dev tasks to mise.toml for starting the API and Web servers
This commit is contained in:
@@ -6,3 +6,16 @@ node = "24"
|
||||
XDG_CACHE_HOME = "{{config_root}}/.cache"
|
||||
NPM_CONFIG_CACHE = "{{config_root}}/.cache/npm"
|
||||
PLAYWRIGHT_BROWSERS_PATH = "{{config_root}}/.cache/ms-playwright"
|
||||
|
||||
[tasks."dev:api"]
|
||||
description = "Start the MyGO API server"
|
||||
run = "go run . serve"
|
||||
|
||||
[tasks."dev:web"]
|
||||
description = "Start the Vite development server"
|
||||
dir = "{{config_root}}/web"
|
||||
run = "npm run dev -- --host ${MYGO_WEB_HOST:-127.0.0.1}"
|
||||
|
||||
[tasks.dev]
|
||||
description = "Start the MyGO API and Web development servers"
|
||||
depends = ["dev:api", "dev:web"]
|
||||
|
||||
Reference in New Issue
Block a user