You can do something similar with the Code Runner extension with vscode [1]
Been able to simply and quickly run code in a variety of languages with little friction is a handy thing to have, particularly when writing fragments in multiple languages at the same time.
[1] https://marketplace.visualstudio.com/items?itemName=formulah...
In the Makefile itself I use entr: http://entrproject.org/