wait-run
wait-run copied to clipboard
multiple target issue
i am trying to run vue-cli build when files in two folders changed. first one is working but second one is not working :(
#!/bin/bash PPP=/Users/User/Data/root/vue/
function watch() { wait-run --p '$PPP"/assets/js/.js",$PPP"/assets/comp/.*"' cd $PPP/assets/js/; vue build main.js --dist ../dist --prod --lib watch } watch