DenoDDeno
Powered by
AsguhoA
Denoβ€’12mo agoβ€’
2 replies
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"
}
{
    "workspace": [
      "./server",
      "./client"
    ],
    "nodeModulesDir": "auto"
}

deno task --recursive dev
deno task --recursive dev

but it just starts the vite server and occupies the terminal, so i have to pres
crtl+c
crtl+c
inorder for the backend server to start
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,944Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Deno workspaces and Fresh, a viable combination?
BOLLBBOLL / help
16mo ago
Problems with Nested deno.json in Deno Workspaces
staytuned_teamSstaytuned_team / help
11mo ago
Workspaces issue: Error running deno run dev command while starting Oak server
Sean KnowlesSSean Knowles / help
2y ago
nodeModulesDir with deno workspaces
cameronmCcameronm / help
17mo ago