Skip to content

Commit 4f62083

Browse files
committed
Update incloud.ts
1 parent 0e42247 commit 4f62083

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

cli/incloud.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,12 @@ async function doInit(_rootPath: string, projectName?: string) {
121121
const status = await proc.status;
122122
Deno.writeTextFileSync("main.ts", makeMainFile(projectName));
123123
if (status.success) {
124+
const clean = new Deno.Command(Deno.execPath(), {
125+
args: ["clean"],
126+
});
127+
await clean.output();
124128
const cmd = new Deno.Command(Deno.execPath(), {
125-
args: ["cache", "--reload", "main.ts"],
129+
args: ["cache", "main.ts"],
126130
});
127131
await cmd.output();
128132

0 commit comments

Comments
 (0)