After exiting rdcli in a Powershell terminal in VSC and starting a Node.js server, that server does not respond to Ctrl-break (SIGTERM). I have tested many scenarios to find a root-cause and this is somehow caused by this Redis client in the following reproduction path.
Open a Powershell terminal in VSC.
Execute rdcli to connect with a remote Redis instance.
exit the Redis client (with/without any other command).
Start Node.js server with npm run next.
Ctrl-break is not working to stop the server.
According the Node.js documentation SIGTERM in Windows does not work when the terminal raw mode is enabled. A search on this repo does however not give any hits on setRawMode.
It would be great if this annoyance could be resolved.
After exiting
rdcli
in a Powershell terminal in VSC and starting a Node.js server, that server does not respond to Ctrl-break (SIGTERM). I have tested many scenarios to find a root-cause and this is somehow caused by this Redis client in the following reproduction path.rdcli
to connect with a remote Redis instance.exit
the Redis client (with/without any other command).npm run next
.According the Node.js documentation SIGTERM in Windows does not work when the terminal raw mode is enabled. A search on this repo does however not give any hits on setRawMode.
It would be great if this annoyance could be resolved.