Via package.json, configure glob patterns to watch and invoke an npm run script on change.