vscode-vite icon indicating copy to clipboard operation
vscode-vite copied to clipboard

Restart vite server command causes 'Terminate batch job' prompt in windows

Open qgates opened this issue 3 years ago • 1 comments

With vite server already running, issuing 'Restart vite server' command causes ^CTerminate batch job (Y/N)? to appear in terminal window, even if it's not shown. Running the command a second time restarts the server.

Stop vite server also brings up the prompt.

qgates avatar Apr 01 '21 15:04 qgates

Unfortunately using new VS Code Terminal "Autoreply" feature does not help with this:

settings.json

"terminal.integrated.autoReplies": {
        "Terminate batch job (Y/N)?": "Y\r",
    },

After using "Restart Vite server" command, the prompt is auto-answered but Vite server does not start. Running command again is required...

Liwoj avatar Apr 03 '22 22:04 Liwoj