diff --git a/projects/ui/netlify.toml b/projects/ui/netlify.toml index 8da5b44133..43542d23f5 100644 --- a/projects/ui/netlify.toml +++ b/projects/ui/netlify.toml @@ -19,4 +19,12 @@ for = "/*" [headers.values] X-Frame-Options = "DENY" - X-Content-Type-Options = "nosniff" \ No newline at end of file + X-Content-Type-Options = "nosniff" + +[dev] + command = "yarn start" + framework = "#custom" + port = 8888 + targetPort = 4173 + functionsPort = 59199 + autoLaunch = true diff --git a/projects/ui/package.json b/projects/ui/package.json index 84a5ab99fd..251f7afec8 100644 --- a/projects/ui/package.json +++ b/projects/ui/package.json @@ -128,7 +128,7 @@ }, "scripts": { "start": "vite --port 4173", - "dev": "netlify dev --command \"yarn start\" --targetPort 4173 --framework vite", + "dev": "netlify dev", "serve": "vite preview", "build": "yarn generate && tsc && vite build", "build:dev": "tsc --noEmit --watch",