title: save changes on console focus - vs code
body: <p>I was coding js. Pressed cntrl + backtick to open console. Ran the file with <code>node script.js</code>. File didn't work as expected because I did not save the new changes.</p>
  <p>I want the file to be saved automatically whenever the focus switches to console either by mouse clicking or cntrl + backtick.</p>