ava watch functionality and transpiling typescript -


is possible use ava --watch functionality when write tests in typescript?

now have this

"test": "tsc -p tsconfig.test.json && ava \"dist_test/**/*.js\"" 

only nice have test modified source / test files during development.

you use chokidar-cli detect file changes , manually run build , test.

"test": "tsc -p tsconfig.test.json && ava \"dist_test/**/*.js\"", "test:watch": "chokidar \"dist_test/**/*.js\" -c \"npm run test\" --initial", 

once changes detected in files run test you.


Comments

Popular posts from this blog

php - Autoloader issue not returning Class -

java - How to put two numbers separated by a space into two different arrays -

python - matplotlib equivalent for Ubuntu servers with no GUI? -