Skip to content

Commit 24e9958

Browse files
committed
Fix deno commands
1 parent fac0f62 commit 24e9958

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

templates/cli/lib/emulation/utils.js.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ const systemTools = {
5050
},
5151
'deno': {
5252
isCompiled: false,
53-
startCommand: "deno start",
53+
startCommand: "deno run --allow-run --allow-net --allow-write --allow-read --allow-env src/server.ts",
5454
dependencyFiles: [ ]
5555
},
5656
'dart': {

templates/cli/lib/questions.js.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ const getInstallCommand = (runtime) => {
9494
case 'dart':
9595
return 'dart pub get';
9696
case 'deno':
97-
return "deno install";
97+
return "deno cache src/main.ts";
9898
case 'node':
9999
return 'npm install';
100100
case 'bun':

0 commit comments

Comments
 (0)