This will watch for changes to files in
assets/js and then minify those out to the
const minifyWatch = watch;const path = ;;
The options that this module checks are:
watch(string): Target path to watch for file changes
recursive(boolean): Check for file changes in subfolders
Note: Be careful not to output to the same folder that you are watching, as it could cause an infinite loop!
You should probably rather be using one of these: