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 - How to display all orders for a single product showing the most recent first? Woocommerce -

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

angularjs - How restrict admin panel using in backend laravel and admin panel on angular? -