Answers for "nodemon compile typescript and execute js file"

0

nodemon compile typescript and execute js file

/* 
	this is an example to compile ts file and then run app.js 
	you can modify according to your requirement
	below is example of simple npm script compile and execute ts file
*/
"start": "nodemon --watch *.ts --exec 'tsc *.ts && node app.js'"
Posted by: Guest on January-07-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language