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

add basic gulp watch setup #14

Closed plastikfan closed 2 years ago

plastikfan commented 2 years ago

When source code changes, build the source package. When test code changes build the test package. By definition, the watch facility is required to build the development bundle only.

A watch on a lib component is not the same as the watch on a front end, which serves up the new ui. We dont want to run the tests automatically during a watch phase, its up to the user to instigate the test runner, when so required.

A front end can implement its own watch by watching the library bundle.