✨ NEW ✨ // Background: true

beta.12 brings in the ability to start/stop background tasks.

Using // Background :true at the top of your script will change the behavior in the main menu:

// Background: true
setInterval(() => {}, 1000) //Some long-running process
Screen Shot 2021-05-06 at 1 30 53 PM Screen Shot 2021-05-06 at 1 31 13 PM Screen Shot 2021-05-06 at 1 33 02 PM

Auto (like nodemon)

// Background: auto
setInterval(() => {}, 1000) //Some long-running process

Using auto, after you start the script, editing will stop/restart the script.

Discuss Post