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:
<img width="702" alt="Screen Shot 2021-05-06 at 1 30 53 PM" src="https://user-images.githubusercontent.com/36073/117355039-4b212b80-ae6f-11eb-952e-4ee28c65ded4.png"> <img width="681" alt="Screen Shot 2021-05-06 at 1 31 13 PM" src="https://user-images.githubusercontent.com/36073/117355094-5b390b00-ae6f-11eb-817a-86be66cabe18.png"> <img width="679" alt="Screen Shot 2021-05-06 at 1 33 02 PM" src="https://user-images.githubusercontent.com/36073/117355276-9a675c00-ae6f-11eb-82b4-fa069e53b143.png">
Auto (like nodemon)
Using auto
, after you start the script, editing will stop/restart the script.