Skip to content

Tag: visual-studio-code

Visual Studio Code: Run node script on save

I use Visual Studio Code (1.8.1) to write ECMAScript 6 for NodeJS 7.3 (so currently no TypeScript). I want to run the current script with node from the command line (node ${file}) every time the script file is saved. Is this possible? To be clear: NodeJS is not running as server, but used for executing cli sc…

Run JavaScript in Visual Studio Code

Is there a way to execute JavaScript and display the results using Visual Studio Code? For example, a script file containing: I assume that Node.js would be needed but can’t work out how to do it? By Visual Studio Code I mean the new Code Editor from Microsoft – Not code written using Visual Studi…