An extension for Visual Studio Code that executes NodeJS/TypeScript and shows real-time results while editing files.
Creates or opens runByTyping.js in the current workspace and executes it when any open file is edited. Console results are displayed in a separate log window.
Creates or opens runByTyping.js in the current workspace and executes it when any open file is edited. Raw HTML passed to module.runByTypingDone() is displayed in the HTML preview window.
Disables executing runByTyping.js on edits.
The code is executed in a separte process so the editor remains responive. Calling module.runByTypingDone() signals that the process can be reused for the next run so a new process doesn't have to be created on every keystroke. If the code doesn't call module.runByTypingDone() within 500ms and there are new changes pending the process will be recycled to begin the next run. This way every run has a clean global scope and even infinite loops are handled gracefully.