diff --git a/mise.toml b/mise.toml index 13c15d2..e8fce3e 100644 --- a/mise.toml +++ b/mise.toml @@ -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"]