Fork me on GitHub
#calva
<
2023-12-14
>
zeitstein12:12:41

Is there a way to execute more than one custom REPL command from a single shortcut? I'd like to run a clj command followed by a cljs one (reload the page after server restart).

✔️ 1
Bob B13:12:30

One possibility would be to leverage VSC's 'runCommands' mechanism to bind a key to more than one command: <https://code.visualstudio.com/docs/getstarted/keybindings#_running-multiple-commands> It looks like composing this ability with the custom REPL commands could provide what you're looking for (if I'm reading things correctly)

pez14:12:50

I agree with @U013JFLRFS8. I think that should work.

zeitstein14:12:12

Indeed it does. Thank you!