Open JustinGrote opened 3 years ago
Hi @JustinGrote, thanks for bringing up this. We will evaluate this in our furture releases. Also welcome anyone wants to contribute this!
Thanks for posting the sample tasks.json
entry, @JustinGrote! I would also like this feature. In the meantime, I opted for the following to run the task only once, when VSCode opens the source folder:
{
"type": "process",
"label": "azurite blob storage",
"command": "${command:azurite.start_blob}",
"problemMatcher": [],
"isBackground": true,
"runOptions": {
"runOn": "folderOpen"
}
}
Documentation about runOptions
: Tasks: Run behavior
I often make a dependent task for Azurite for my testing and launch tasks like so:
However this always throws a bunch of toast errors if Azurite is already running. If I had a
azurite.startifnotrunning
command that would suppress error notifications about it already being started and only show errors if it failed would be very helpful. Thanks!