V
V
Vasily Merza2020-05-12 11:54:47
Vue.js
Vasily Merza, 2020-05-12 11:54:47

How to monitor front file changes for automatic VueJs WebPack rebuild on Deploy?

Good afternoon colleagues. How is it possible and is it possible to track changes in the vue front directory so that the deploy script after merge into the production (master) branch rebuilds the necessary components / cabinets.
At the moment, the task in Bamboo for building the front does something like this:

cd /var/www/html/api/vue/
npm run build-example1
npm run build-example2
npm run build-example3..4...5... и тд
npm run copy-to-prod


The problem is that we have more than 10 cabinets, rebuilding Everything takes a long time and is not advisable (npm run build-all)
We have to manually edit this task all the time.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question