Snivilization / nodejs-esm-starter

Starter project for NodeJs esm packages, with rollup, typescript, mocha, chai, eslint, istanbul/nyc, gulp and i18next
MIT License
6 stars 3 forks source link

gulp: add task to just rebuild the tests and then run the tests #32

Closed plastikfan closed 2 years ago

plastikfan commented 2 years ago

Currently, the test task just runs the unit test bundle. However, if we change the tests, then simply running the test command will still just run the old test bundle. We need another development only task (build:t and a t script that refers to it) that rebuilds and re-runs the test bundle. I am assuming we dont need this for production as this is primarily a dev time task.