We have two settings:
Is is enough for your?
@formulahendry I think what the author meant is to run the code every time you save the file. Is this possible?
As above, I was looking for a solution to this as well; a way to run Code Runner automatically upon saving a file (in contrast to the current implementation of saving file(s) before running Code Runner). This would also bring it closer to Quokka.js which actively updates the output upon saving the watched file.
At the moment, my workaround is to add the following macro/shortcut to VS Code's keybindings.json
to simulate this requested behaviour.
{
"key": "ctrl+enter",
"command": "code-runner.run"
}
Most helpful comment
@formulahendry I think what the author meant is to run the code every time you save the file. Is this possible?