Tuesday, April 24, 2018

How to auto execute code in console

1- Install nodemon console from command prompt

npm install -g nodemon

2- Once installed, select the file to be autoexecutable

nodemon .\demo.js

3- To exit, please do CTRL + C on windows

That's it!

No comments:

Post a Comment