I could be completely wrong and this not be relevant, but can you check if task auto detection is turned on (it is by default, unless VSCode was stupid and asked you to turn it off):
I could be completely wrong and this not be relevant, but can you check if task auto detection is turned on (it is by default, unless VSCode was stupid and asked you to turn it off):