mirror of
https://github.com/denoland/deno.git
synced 2024-11-14 16:33:45 -05:00
18 lines
496 B
TypeScript
18 lines
496 B
TypeScript
await import("./single_compile_with_reload_dyn.ts");
|
|
console.log("1");
|
|
await import("./single_compile_with_reload_dyn.ts");
|
|
console.log("2");
|
|
await new Promise((r) =>
|
|
new Worker(
|
|
new URL("single_compile_with_reload_worker.ts", import.meta.url).href,
|
|
{ type: "module" },
|
|
).onmessage = r
|
|
);
|
|
console.log("3");
|
|
await new Promise((r) =>
|
|
new Worker(
|
|
new URL("single_compile_with_reload_worker.ts", import.meta.url).href,
|
|
{ type: "module" },
|
|
).onmessage = r
|
|
);
|
|
console.log("4");
|