We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I need to reimport script after changes (by others) at runtime, but deno doesn't want to recompile sources. Simple test: File test.ts
await import("./abc.ts"); await Deno.writeTextFile("./abc.ts", "console.log('After changes');"); await import("./abc.ts");
File abc.ts
console.log('Before changes');
Execute:
deno run --unstable --allow-all test.ts
Console output:
ubuntu@deno:~/workspace/deno$ deno run --unstable --allow-all test.ts Compile file:///home/ubuntu/workspace/deno/test.ts Before changes ubuntu@deno:~/workspace/deno$
File abc.ts after run:
console.log('After changes');
Deno version
deno 1.0.2 v8 8.4.300 typescript 3.9.2
OS Linux
The text was updated successfully, but these errors were encountered:
Duplicate of #5548
Sorry, something went wrong.
No branches or pull requests
Hi, I need to reimport script after changes (by others) at runtime, but deno doesn't want to recompile sources.
Simple test:
File test.ts
File abc.ts
Execute:
Console output:
File abc.ts after run:
Deno version
OS Linux
The text was updated successfully, but these errors were encountered: