Hong Minhee
How to set up VS Code with Deno workspaces
I'm trying workspaces, introduced since Deno 1.45. It works well with the
deno
CLI, but in VS Code, red underlines show up on import
statements. (I guess this issue is relevant?) Is it a bug of Deno's LSP or my mistake? Is there any best practice to set up VS Code with Deno workspaces?9 replies
How can I let my program keep running even if it receives SIGINT?
I succeeded to write a program to handle but Deno always exits when it receives a [Edit: It was my mistake. Deno keeps running if a signal handler was registered.] I just want my program to reload the configuration file instead of terminating when it receives
SIGINT
using Deno.addSignalListener("SIGINT", ...)
API, SIGINT
whether I put Deno.exit()
inside the signal handler or not.SIGINT
. Is there any way to do it?5 replies