#!/bin/bash source build-config.cfg ## Only run npm build if there was a change in a .js or .vue file current_md5=$( last-js-build.md5 else find src -type f \( -name "*.js" -or -name "*.vue" -or -name "*.scss" \) -exec md5sum {} \; | sort -k 2 | md5sum > last-js-build.md5 fi new_md5=$(