AsguhoA
Deno10mo ago
Asguho

Running vite and a deno server in workspaces

I want to write "deno task dev" and it will then start both the frontend (written with vite) and the deno backend at the same time.

the closest i got was this:
{
    "workspace": [
      "./server",
      "./client"
    ],
    "nodeModulesDir": "auto"
}

deno task --recursive dev

but it just starts the vite server and occupies the terminal, so i have to pres
crtl+c
inorder for the backend server to start
Was this page helpful?