wk-j / vscode-save-and-run

Visual Studio Code extension to run commands whenever a file is saved https://marketplace.visualstudio.com/items?itemName=wk-j.save-and-run
Apache License 2.0
32 stars 7 forks source link

Each save opens a new terminal #46

Open hlindberg opened 2 years ago

hlindberg commented 2 years ago

Works great but for each save there is a new terminal window created which is not ideal. A typical user will edit save regularly and will have to remember to close all those terminal windows. It also gets confusing for them to keep track of them all.

I suspect this is by design so it is possible to run multiple commands in parallell. Would it be possible to have an option to kill the previous terminal when again saving and triggering output for the same command?