{"_id":"run-when-changed","_rev":"13-6910855a1e2dec142c7b96abdfb30f12","name":"run-when-changed","description":"Selectively executes commands when watched files are changed.","dist-tags":{"latest":"2.1.0"},"versions":{"1.0.0":{"name":"run-when-changed","version":"1.0.0","description":"Selectively executes commands when watched files are changed.","main":"lib/index.js","bin":{"run-when-changed":"./bin/run-when-changed.js"},"files":["lib","bin"],"scripts":{"prepublish":"babel index.js --out-dir ./lib --source-maps","dev":"babel index.js --out-dir ./lib --source-maps --watch"},"keywords":[],"author":{"name":"Alex Gorbatchev","url":"https://github.com/alexgorbatchev"},"repository":{"type":"git","url":"git+https://github.com/alexgorbatchev/run-when-changed.git"},"license":"ISC","devDependencies":{"babel-cli":"^6.6.5","babel-core":"^6.7.4","babel-preset-es2015":"^6.6.0"},"dependencies":{"ansi-bold":"^0.1.1","commander":"^2.9.0","gaze":"^1.1.0","minimatch":"^3.0.2","sprintf":"^0.1.5"},"gitHead":"4d50d8a77edb397d66ef0e83242af659d53d029f","bugs":{"url":"https://github.com/alexgorbatchev/run-when-changed/issues"},"homepage":"https://github.com/alexgorbatchev/run-when-changed#readme","_id":"run-when-changed@1.0.0","_shasum":"3c0001a17926ae7db9ebf4a86cfbf39989975dc9","_from":".","_npmVersion":"3.7.2","_nodeVersion":"5.3.0","_npmUser":{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"},"dist":{"shasum":"3c0001a17926ae7db9ebf4a86cfbf39989975dc9","tarball":"https://registry.npmjs.org/run-when-changed/-/run-when-changed-1.0.0.tgz","integrity":"sha512-LEeVJVUr59nB2Cj/iokFYRiNI1ttPVxUJf/tSWWQw0TRrbdc08uNc9o2bCuj3Cif+X7VO+HZVaZ2MzLSVTsmKQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAdkyr9QlOirfZ4N7Daxu/17CVNHmMO6l81ESHtQktRdAiBr6dnCUpf/SC1zy69V7B0L/dVFe39HH/JqmfSdjjmqTw=="}]},"maintainers":[{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/run-when-changed-1.0.0.tgz_1468362200518_0.1124950039666146"},"directories":{}},"1.0.1":{"name":"run-when-changed","version":"1.0.1","description":"Selectively executes commands when watched files are changed.","main":"lib/index.js","bin":{"run-when-changed":"./bin/run-when-changed.js"},"files":["lib","bin"],"scripts":{"prepublish":"babel index.js --out-dir ./lib --source-maps","dev":"babel index.js --out-dir ./lib --source-maps --watch"},"keywords":["watching","files","changes","exec","spawn","monitor","testing","mocha","gaze","watch"],"author":{"name":"Alex Gorbatchev","url":"https://github.com/alexgorbatchev"},"repository":{"type":"git","url":"git+https://github.com/alexgorbatchev/run-when-changed.git"},"license":"ISC","devDependencies":{"babel-cli":"^6.6.5","babel-core":"^6.7.4","babel-preset-es2015":"^6.6.0"},"dependencies":{"ansi-bold":"^0.1.1","commander":"^2.9.0","gaze":"^1.1.0","minimatch":"^3.0.2","sprintf":"^0.1.5"},"gitHead":"7c2d0793732a0b5df7345f24ee0764d6e44a1279","bugs":{"url":"https://github.com/alexgorbatchev/run-when-changed/issues"},"homepage":"https://github.com/alexgorbatchev/run-when-changed#readme","_id":"run-when-changed@1.0.1","_shasum":"8bac1a810180fe3f534b2a461774bfa702e355b7","_from":".","_npmVersion":"3.7.2","_nodeVersion":"5.3.0","_npmUser":{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"},"dist":{"shasum":"8bac1a810180fe3f534b2a461774bfa702e355b7","tarball":"https://registry.npmjs.org/run-when-changed/-/run-when-changed-1.0.1.tgz","integrity":"sha512-KwuBJauihZIoVCnI03fnNoXzOslnIkMz9JQEibk0iMKLmpvPUkGBt1x4Grg+gHdmO7eZQwN24kf1vru5YBdeqg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIER/M0l9o7cCg55G0NTtPSLToIAJcYBNRJ0SyNkLO1g7AiBDudLBB8+jGk2KfZfEaQUMjlZA+ZpUOqvYxWiVL9FoJg=="}]},"maintainers":[{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/run-when-changed-1.0.1.tgz_1468428763306_0.4651535137090832"},"directories":{}},"1.1.0":{"name":"run-when-changed","version":"1.1.0","description":"Selectively executes commands when watched files are changed.","main":"lib/index.js","bin":{"run-when-changed":"./bin/run-when-changed.js"},"files":["lib","bin"],"scripts":{"prepublish":"babel *.js --out-dir ./lib --source-maps","dev":"./bin/run-when-changed.js --watch 'tests/**/*-test.js' --exec 'mocha --require babel-register %s' --watch '*.js' --exec 'babel %s --out-dir ./lib --source-maps'"},"keywords":["watching","files","changes","exec","spawn","monitor","testing","mocha","gaze","watch"],"author":{"name":"Alex Gorbatchev","url":"https://github.com/alexgorbatchev"},"repository":{"type":"git","url":"git+https://github.com/alexgorbatchev/run-when-changed.git"},"license":"ISC","devDependencies":{"babel-cli":"^6.6.5","babel-core":"^6.7.4","babel-preset-es2015":"^6.6.0","chai":"^3.5.0","chai-as-promised":"^5.3.0","mocha":"^2.5.3"},"dependencies":{"ansi-bold":"^0.1.1","commander":"^2.9.0","fs-find-root":"^2.0.0","gaze":"^1.1.0","minimatch":"^3.0.2"},"gitHead":"769ce8f88b23c86c6b7bc6e75fe9f3b318a1badd","bugs":{"url":"https://github.com/alexgorbatchev/run-when-changed/issues"},"homepage":"https://github.com/alexgorbatchev/run-when-changed#readme","_id":"run-when-changed@1.1.0","_shasum":"af150411af8ee160621a3729b9146deda1320501","_from":".","_npmVersion":"3.7.2","_nodeVersion":"5.3.0","_npmUser":{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"},"dist":{"shasum":"af150411af8ee160621a3729b9146deda1320501","tarball":"https://registry.npmjs.org/run-when-changed/-/run-when-changed-1.1.0.tgz","integrity":"sha512-tOHy7VDMytbeqPSS1sDQxIvyVOGWq0rhF1vHlqFe8N7WtFheHVM/2gGHdg8R08jMnJVkMQiljUQXkoZK69HoYA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCYuFMmNhsntJ4n9YdAllVCFbY5VMMH53fZLL3Jb5kqEQIgFFoB+B9+7LYXjAEIPwKICSeg1aY0QiPGGe3JBPieOE4="}]},"maintainers":[{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/run-when-changed-1.1.0.tgz_1468515526489_0.007792575750499964"},"directories":{}},"1.2.0":{"name":"run-when-changed","version":"1.2.0","description":"Selectively executes commands when watched files are changed.","main":"lib/index.js","bin":{"run-when-changed":"./bin/run-when-changed.js"},"files":["lib","bin"],"scripts":{"prepublish":"babel *.js --out-dir ./lib --source-maps","dev":"./bin/run-when-changed.js --watch 'tests/**/*-test.js' --exec 'mocha --require babel-register %s' --watch '*.js' --exec 'babel %s --out-dir ./lib --source-maps'"},"keywords":["watching","files","changes","exec","spawn","monitor","testing","mocha","gaze","watch"],"author":{"name":"Alex Gorbatchev","url":"https://github.com/alexgorbatchev"},"repository":{"type":"git","url":"git+https://github.com/alexgorbatchev/run-when-changed.git"},"license":"ISC","devDependencies":{"babel-cli":"^6.6.5","babel-core":"^6.7.4","babel-preset-es2015":"^6.6.0","chai":"^3.5.0","chai-as-promised":"^5.3.0","mocha":"^2.5.3"},"dependencies":{"ansi-bold":"^0.1.1","commander":"^2.9.0","fs-find-root":"^2.0.0","gaze":"^1.1.0","minimatch":"^3.0.2"},"gitHead":"33e1118edf247a6d7719ff57fb0bdd8c18a06bb0","bugs":{"url":"https://github.com/alexgorbatchev/run-when-changed/issues"},"homepage":"https://github.com/alexgorbatchev/run-when-changed#readme","_id":"run-when-changed@1.2.0","_shasum":"fe8322b669b6a0261f427f78153e2fec636675b0","_from":".","_npmVersion":"3.7.2","_nodeVersion":"5.3.0","_npmUser":{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"},"dist":{"shasum":"fe8322b669b6a0261f427f78153e2fec636675b0","tarball":"https://registry.npmjs.org/run-when-changed/-/run-when-changed-1.2.0.tgz","integrity":"sha512-iRRylq29I8uHqd1UrrcdDmeoX+Wop9cLwuOrbyh1XXw1ILqjSSfPs+DgyIQQK/9TUsr1/ovBJ7N1CnG0LN0I9g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDff1ohgI8HLzJOWGuucamKvsiq6TrKJ2iWFAj37o7vygIgLqiqmY8TLJyU9lD2oHUXi1RV28PvMV0QmWTsuby+JXs="}]},"maintainers":[{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/run-when-changed-1.2.0.tgz_1468516662583_0.07258563907817006"},"directories":{}},"1.3.0":{"name":"run-when-changed","version":"1.3.0","description":"Selectively executes commands when watched files are changed.","main":"lib/index.js","bin":{"run-when-changed":"./bin/run-when-changed.js"},"files":["lib","bin"],"scripts":{"prepublish":"babel *.js --out-dir ./lib --source-maps","test":"mocha --require babel-register tests/**/*-test.js","dev":"./bin/run-when-changed.js --watch 'tests/**/*-test.js' --exec 'mocha --require babel-register %s' --watch '*.js' --exec 'babel %s --out-dir ./lib --source-maps'"},"keywords":["watching","files","changes","exec","spawn","monitor","testing","mocha","gaze","watch"],"author":{"name":"Alex Gorbatchev","url":"https://github.com/alexgorbatchev"},"repository":{"type":"git","url":"git+https://github.com/alexgorbatchev/run-when-changed.git"},"license":"ISC","devDependencies":{"babel-cli":"^6.6.5","babel-core":"^6.7.4","babel-preset-es2015":"^6.6.0","chai":"^3.5.0","chai-as-promised":"^5.3.0","mocha":"^2.5.3"},"dependencies":{"ansi-bold":"^0.1.1","commander":"^2.9.0","fs-find-root":"^2.0.0","gaze":"^1.1.0","minimatch":"^3.0.2"},"gitHead":"368316d9d8f18b6b3701d3a380e4f4dd0583ca38","bugs":{"url":"https://github.com/alexgorbatchev/run-when-changed/issues"},"homepage":"https://github.com/alexgorbatchev/run-when-changed#readme","_id":"run-when-changed@1.3.0","_shasum":"97ba127ea21c13dad7a3942fcfb2694300d6251e","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"},"dist":{"shasum":"97ba127ea21c13dad7a3942fcfb2694300d6251e","tarball":"https://registry.npmjs.org/run-when-changed/-/run-when-changed-1.3.0.tgz","integrity":"sha512-TE6WEp69/B3yX4aMPGFKiRUfxSa0/b5gPvfx0COfBSEW3fONfgPaj8AwRbqi/yFtCImYfmKikYoy7AbOgZRSeg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDe3BkB5aMicEleTnO/l4LmdrTvFdb9FqLtRypzLMM0jwIgL7vCBlthVW5CTDotJmJ+pNuR4pGvGHoqMGozjJfwxLI="}]},"maintainers":[{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/run-when-changed-1.3.0.tgz_1473521009715_0.8718917323276401"},"directories":{}},"2.0.0":{"name":"run-when-changed","version":"2.0.0","description":"Selectively executes commands when watched files are changed.","main":"lib/index.js","bin":{"run-when-changed":"./bin/run-when-changed.js"},"files":["lib","bin"],"scripts":{"prepublish":"babel *.js --out-dir ./lib --source-maps","test":"mocha --require babel-register tests/**/*-test.js","dev":"./bin/run-when-changed.js --watch 'tests/**/*-test.js' --exec 'mocha --require babel-register %s' --watch '*.js' --exec 'babel %s --out-dir ./lib --source-maps'"},"keywords":["watching","files","changes","exec","spawn","monitor","testing","mocha","gaze","watch"],"author":{"name":"Alex Gorbatchev","url":"https://github.com/alexgorbatchev"},"repository":{"type":"git","url":"git+https://github.com/alexgorbatchev/run-when-changed.git"},"license":"ISC","devDependencies":{"babel-cli":"^6.6.5","babel-core":"^6.7.4","babel-preset-es2015":"^6.6.0","chai":"^3.5.0","chai-as-promised":"^6.0.0","mocha":"^3.2.0"},"dependencies":{"ansi-bold":"^0.1.1","commander":"^2.9.0","fs-find-root":"^2.0.0","gaze":"^1.1.0","minimatch":"^3.0.2"},"gitHead":"0c4c18558c186d842dae33fc2d87b425a3be9438","bugs":{"url":"https://github.com/alexgorbatchev/run-when-changed/issues"},"homepage":"https://github.com/alexgorbatchev/run-when-changed#readme","_id":"run-when-changed@2.0.0","_shasum":"c97800a4e82266f2a0af1473ef18e2cb11c9d07c","_from":".","_npmVersion":"3.10.8","_nodeVersion":"7.0.0","_npmUser":{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"},"dist":{"shasum":"c97800a4e82266f2a0af1473ef18e2cb11c9d07c","tarball":"https://registry.npmjs.org/run-when-changed/-/run-when-changed-2.0.0.tgz","integrity":"sha512-6O5V429GwKLbPSPD/DAI+0TmURi+l8zUOxqGuHb/xXsVeEYEAdbje5n5hYn36uBWK55OpiASpR8sACv3NcjB0Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDhhYwHTuM3hHmKpEG64sbS/o+5sNtb2cEEyj0fHUN0MAiEA7SHwJTOzuJtGyWjDoG/Syq/I8qQMP4dNuMGwvLPRA9I="}]},"maintainers":[{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/run-when-changed-2.0.0.tgz_1482519204802_0.21560241631232202"},"directories":{}},"2.0.1":{"name":"run-when-changed","version":"2.0.1","description":"Selectively executes commands when watched files are changed.","main":"lib/index.js","bin":{"run-when-changed":"./bin/run-when-changed.js"},"files":["lib","bin"],"scripts":{"prepublish":"babel *.js --out-dir ./lib --source-maps","test":"mocha --require babel-register tests/**/*-test.js","dev":"./bin/run-when-changed.js --watch 'tests/**/*-test.js' --exec 'mocha --require babel-register %s' --watch '*.js' --exec 'babel %s --out-dir ./lib --source-maps'"},"keywords":["watching","files","changes","exec","spawn","monitor","testing","mocha","gaze","watch"],"author":{"name":"Alex Gorbatchev","url":"https://github.com/alexgorbatchev"},"repository":{"type":"git","url":"git+https://github.com/alexgorbatchev/run-when-changed.git"},"license":"ISC","devDependencies":{"babel-cli":"^6.6.5","babel-core":"^6.7.4","babel-preset-es2015":"^6.6.0","chai":"^3.5.0","chai-as-promised":"^6.0.0","mocha":"^3.2.0"},"dependencies":{"ansi-bold":"^0.1.1","commander":"^2.9.0","fs-find-root":"^2.0.0","gaze":"^1.1.0","minimatch":"^3.0.2"},"gitHead":"98eca85c5b39a49f2331d323d0e352cbd0e2295e","bugs":{"url":"https://github.com/alexgorbatchev/run-when-changed/issues"},"homepage":"https://github.com/alexgorbatchev/run-when-changed#readme","_id":"run-when-changed@2.0.1","_shasum":"509d526bd519582af006981e3f74a6ae821e7811","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.2","_npmUser":{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"},"dist":{"shasum":"509d526bd519582af006981e3f74a6ae821e7811","tarball":"https://registry.npmjs.org/run-when-changed/-/run-when-changed-2.0.1.tgz","integrity":"sha512-wGJ+Ur+kL70FnRshSR+1NKl6F/5zjJTT9NyqXmYk0KLA9UTlZ8hWBFC8+pn7t/6msOJIs7NpeSNhqP57o6ylZw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEfY4yunvDf3lyapPahVfg1lOBLXMbEtYzknuFmGP555AiEAj4e/zNgDWNLtdp3XOmm7DzJpS3NM2jFP7gUALdtE4OE="}]},"maintainers":[{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/run-when-changed-2.0.1.tgz_1490119329859_0.3192480532452464"},"directories":{}},"2.0.2":{"name":"run-when-changed","version":"2.0.2","description":"Selectively executes commands when watched files are changed.","main":"lib/index.js","bin":{"run-when-changed":"./bin/run-when-changed.js"},"files":["lib","bin"],"scripts":{"prepublish":"babel *.js --out-dir ./lib --source-maps && mv ./lib/run-when-changed.* ./bin","test":"mocha --require babel-register tests/**/*-test.js","dev":"./bin/run-when-changed.js --watch 'tests/**/*-test.js' --exec 'mocha --require babel-register %s' --watch '*.js' --exec 'babel %s --out-dir ./lib --source-maps'"},"keywords":["watching","files","changes","exec","spawn","monitor","testing","mocha","gaze","watch"],"author":{"name":"Alex Gorbatchev","url":"https://github.com/alexgorbatchev"},"repository":{"type":"git","url":"git+https://github.com/alexgorbatchev/run-when-changed.git"},"license":"ISC","devDependencies":{"babel-cli":"^6.6.5","babel-core":"^6.7.4","babel-preset-es2015":"^6.6.0","chai":"^3.5.0","chai-as-promised":"^6.0.0","mocha":"^3.2.0"},"dependencies":{"ansi-bold":"^0.1.1","commander":"^2.9.0","fs-find-root":"^2.0.0","gaze":"^1.1.0","minimatch":"^3.0.2"},"gitHead":"8561986a925cf27f79688b4040dd5a0f53793693","bugs":{"url":"https://github.com/alexgorbatchev/run-when-changed/issues"},"homepage":"https://github.com/alexgorbatchev/run-when-changed#readme","_id":"run-when-changed@2.0.2","_shasum":"af9a31a8f91e235fa549377afebf5e09cea9ad76","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.2","_npmUser":{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"},"dist":{"shasum":"af9a31a8f91e235fa549377afebf5e09cea9ad76","tarball":"https://registry.npmjs.org/run-when-changed/-/run-when-changed-2.0.2.tgz","integrity":"sha512-vDh3u5mdo57bXQBSq8QLV48dtlUORHenbovL4bEJb2vE/RQnqVtLPk3yG7h4xY66EEktVZTygZA91YtG4Tbh3w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFaXa0SLjFET4TqyCg9NQiBdeCbH0d/dusixjYT9HvegAiEA0zuvW7vSwz6NvbXFVk5XviNQdr5oBbN8rhutuDeseUw="}]},"maintainers":[{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/run-when-changed-2.0.2.tgz_1490121609586_0.3778807385824621"},"directories":{}},"2.0.3":{"name":"run-when-changed","version":"2.0.3","description":"Selectively executes commands when watched files are changed.","main":"lib/index.js","bin":{"run-when-changed":"./bin/run-when-changed.js"},"files":["lib","bin"],"scripts":{"prepublish":"babel *.js --out-dir ./lib --source-maps && mv ./lib/run-when-changed.* ./bin","test":"mocha --require babel-register tests/**/*-test.js","dev":"./bin/run-when-changed.js --watch 'tests/**/*-test.js' --exec 'mocha --require babel-register %s' --watch '*.js' --exec 'babel %s --out-dir ./lib --source-maps'"},"keywords":["watching","files","changes","exec","spawn","monitor","testing","mocha","gaze","watch"],"author":{"name":"Alex Gorbatchev","url":"https://github.com/alexgorbatchev"},"repository":{"type":"git","url":"git+https://github.com/alexgorbatchev/run-when-changed.git"},"license":"ISC","devDependencies":{"babel-cli":"^6.6.5","babel-core":"^6.7.4","babel-preset-es2015":"^6.6.0","chai":"^3.5.0","chai-as-promised":"^6.0.0","mocha":"^3.2.0"},"dependencies":{"ansi-bold":"^0.1.1","commander":"^2.9.0","fs-find-root":"^2.0.0","gaze":"^1.1.0","minimatch":"^3.0.2"},"gitHead":"36ed75f735978ff49d33afab437ca0970c4a2b62","bugs":{"url":"https://github.com/alexgorbatchev/run-when-changed/issues"},"homepage":"https://github.com/alexgorbatchev/run-when-changed#readme","_id":"run-when-changed@2.0.3","_shasum":"3a579a0b7b152e673adb44cfc211ac16a5ad3e37","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.2","_npmUser":{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"},"dist":{"shasum":"3a579a0b7b152e673adb44cfc211ac16a5ad3e37","tarball":"https://registry.npmjs.org/run-when-changed/-/run-when-changed-2.0.3.tgz","integrity":"sha512-88voTRNR3N+CGZ2B9nkLt0JkMPixG2YQski0PjAID8aaGUIpJ7iTn4gi0XT3Ox6E0pyGBxwl/sPBQih/ZLZMXw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEExa/MlhW65kveqz+keB3/Bw8cZ7wbUdkGBjNwUMY9ZAiEAjU77QW/ufkTlcDCjAmfeZouzV0T+EtCtNa2B0nVMaHU="}]},"maintainers":[{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/run-when-changed-2.0.3.tgz_1490127255218_0.09736390551552176"},"directories":{}},"2.1.0":{"name":"run-when-changed","version":"2.1.0","description":"Selectively executes commands when watched files are changed.","main":"lib/index.js","bin":{"run-when-changed":"./bin/run-when-changed.js"},"files":["lib","bin"],"scripts":{"prepublish":"babel *.js --out-dir ./lib --source-maps && mv ./lib/run-when-changed.* ./bin","test":"mocha --require babel-register tests/**/*-test.js","dev":"./bin/run-when-changed.js --watch 'tests/**/*-test.js' --exec 'mocha --require babel-register %s' --watch '*.js' --exec 'babel %s --out-dir ./lib --source-maps'"},"keywords":["watching","files","changes","exec","spawn","monitor","testing","mocha","gaze","watch"],"author":{"name":"Alex Gorbatchev","url":"https://github.com/alexgorbatchev"},"repository":{"type":"git","url":"git+https://github.com/alexgorbatchev/run-when-changed.git"},"license":"ISC","devDependencies":{"babel-cli":"^6.26.0","babel-core":"^6.26.0","babel-preset-es2015":"^6.24.1","chai":"^4.1.2","chai-as-promised":"^7.1.1","mocha":"^5.1.1"},"dependencies":{"ansi-bold":"^0.1.1","commander":"^2.15.1","fs-find-root":"^2.0.0","gaze":"^1.1.2","minimatch":"^3.0.4"},"gitHead":"fea96bb607b06baa43e1b0c2925145f6888bf8ef","bugs":{"url":"https://github.com/alexgorbatchev/run-when-changed/issues"},"homepage":"https://github.com/alexgorbatchev/run-when-changed#readme","_id":"run-when-changed@2.1.0","_npmVersion":"5.7.1","_nodeVersion":"8.2.1","_npmUser":{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"},"dist":{"integrity":"sha512-ge/wuPQAvQz0uDEOO8W2c3g4mqXDa1XXtnJmjP9+6Nqfb+XdUYkQX/KvKmSvJ4xG5weD3RGm0u2Q3UsGzAo5gw==","shasum":"2e76d6ff6014d38786a3a11b98e9291c7e934953","tarball":"https://registry.npmjs.org/run-when-changed/-/run-when-changed-2.1.0.tgz","fileCount":8,"unpackedSize":19902,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa2kDSCRA9TVsSAnZWagAAzKQP/i8MAYOlA56v7HENMMvt\nbl2NYxqp7TKO7U6s614xlktE/5jA6xdhqEX+VSqtxbF4BLsPiTT8ux+5lgwT\n6WO8hALF3Q94tyncLEwZ5aykaR1fGC7IXJ0CZ8miJpOdhUHtPzFgK3FniUm/\nj/gKvdKUIyCg5JWW2rRW6xcv/ponCmt8qfOWLcewg4t8M44RAsdltwm5InqI\nx2tZxhAtAyf1NYaTr3KxPON/H2Cm/iok37bhGBSfOUL61i5TMsoRNnoOwJQ9\n99UJJX4jvG0S8OcEfaiqwOFDgN/4RXgYS5Vy2121AKd3xVUgmMkfS07GnXDm\nH2xq7+hHg6oy/O79oNy1mjQUERvqPTBgouSU5SAV3O5KyvOIfwtLZ8aso+8R\nBDzxjtssuPwOS/rfnNUmK0Wmog4X++zbCD7g1W49EG1lQ48O2jNKVYAu26h7\nW7ho/Mpt6qNRm3vQn7F3lxn5fTTmEnVzTmwcUWJkXZYmtr6TJ0/nWk+sGcPU\nmqNX7J7+0LEmJiFR+9R7Zt4AlpeIA/4Wg0VuaiJC07ntu+lK52X0o5OGbshB\nft499TzQe2apiJlBq//G8CLXUxghK/6DskAUfcsHDSmfBBEeg46CjZuYcUb0\nonmeS9a+XIKsm+8aMWn6LLqEMUnPMPL7SDn3a6jda7/sVjnJ0vJ7qNutjO1j\ndpaw\r\n=f1wh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDAnXYo0gXQOl3qrVDwRcaUITNEMRS98poDurSXBQ9f/AiB4yGstO/vkYgTtwTrlrn3d0oDt+ny4tuwMTOBCeqcEqA=="}]},"maintainers":[{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/run-when-changed_2.1.0_1524252881199_0.9320960184530451"},"_hasShrinkwrap":false}},"readme":"# run-when-changed\n\n[![GratiPay](https://img.shields.io/gratipay/user/alexgorbatchev.svg)](https://gratipay.com/alexgorbatchev/)\n![Downloads](https://img.shields.io/npm/dm/run-when-changed.svg)\n![Version](https://img.shields.io/npm/v/run-when-changed.svg)\n\nSelectively executes commands when watched files are changed (Nix & Win32).\n\n## Installation\n\n```\nnpm install --save-dev run-when-changed\n```\n\n## Usage\n\n```\nUsage: run-when-changed --watch <glob> --match [glob] --exec <cmd> (--watch <glob> --match [glob] --exec <cmd>)\n\nSelectively executes commands when watched files are changed.\n\nOptions:\n\n  -h, --help                    Output usage information\n  -w, --watch <glob>            A glob to watch, starts a new group\n  -e, --exec <cmd>              Command to execute, eg \"echo %s\"\n  -m, --match [glob]            Only files that match will be executed\n  -i, --interval [milliseconds] Interval to pass to fs.watchFile in milliseconds\n  -d, --debounce [milliseconds] Delay for events called in succession for the same file/event in milliseconds\n  -m, --mode [auto|watch|poll]  Force the watch mode. Either 'auto' (default), 'watch' (force native events), or 'poll' (force stat polling)\n  -c, --cwd [directory]         The current working directory to base file patterns from. Default is process.cwd()\n  --verbose                     Verbose mode\n```\n\n## CMD format\n\nCommand line accepts the following tokens:\n\n* `%filedir` - Changed file directory, relative to CWD.\n* `%filename` - Changed file name and extension.\n* `%filepath` - Changed file directory, file name and extension relative to CWD.\n* `%s` - Same as `%filepath`.\n* `%package-json-dir` - Full path to nearest folder that contains `package.json`.\n* `%full-filedir` - Full absolute changed file directory.\n* `%full-filepath` - Full absolute changed file directory, file name and extension.\n\n## Examples\n\n### Watching one or more glob\n\n```\n$ run-when-changed --watch \"**/*.js\" --exec \"ls -la %s\"\n$ run-when-changed --watch \"**/*.js\" --watch \"README.md\" --exec \"ls -la %s\"\n```\n\n### Executing multiple commands\n\nHaving more than one `exec` passed per `watch` will execute multiple commands per file when there's a change event.\n\n```\n$ run-when-changed --watch \"**/*.js\" --exec \"ls -la %s\" --exec \"chmod +x %s\"\n```\n\n### Watching multiple globs\n\nYou can `watch` multiple globs and execute commands specific to each glob.\n\n```\n$ run-when-changed \\\n  --watch \"**/*.js\" --exec \"ls -la %s\" \\  # executes `ls` for `*.js` files\n  --watch \"**/*.txt\" --exec \"rm %s\" \\     # executes `rm` for `*.txt` files\n```\n\n### Filtering\n\n```\n# executes `ls` for `*-test.js` files\n$ run-when-changed --watch \"**/*.js\" --filter \"*-test.js\" --exec \"ls -la %s\"\n```\n\n### Running mocha\n\nThis command will execute `mocha` test runner for all `tests/**/*-test.js` files.\n\n```\n$ run-when-changed \\\n  --watch \"tests/**/*-test.js\" \\\n  --exec \"mocha --require babel-register %s\" \\\n  --verbose\n```\n\n## NPM Package Usage Examples\n\nInstall locally (`npm install --save-dev run-when-changed`) then add the following to your `package.json`\n\n### Mocha\n\nYou can use `npm run dev` command to start a file watcher that will execute the test file you are working on without having to add `.only`.\n\n```js\n{\n  \"scripts\": {\n    \"dev\": \"run-when-changed --watch 'tests/**/*-test.js' --exec 'mocha --require babel-register %s'\"\n  }\n}\n```\n\n## Mocha & Babel\n\nYou can use `npm run dev` command to start a file watcher that will execute the test file you are working on without having to add `.only` and compile `*.js` files in the root folder using Babel.js.\n\n```js\n{\n  \"scripts\": {\n    \"dev\": \"run-when-changed.js --watch 'tests/**/*-test.js' --exec 'mocha --require babel-register %s' --watch '*.js' --exec 'babel %s --out-dir ./lib --source-maps'\"\n  }\n}\n```\n\n## Notes\n\n1. `filter` and `exec` applies only to immediately preceeding `watch`\n1. You can have as many `filter` and `exec` after one or many `watch`\n\n## License\n\nISC\n","maintainers":[{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"}],"time":{"modified":"2022-06-26T14:48:04.971Z","created":"2016-07-12T22:23:21.027Z","1.0.0":"2016-07-12T22:23:21.027Z","1.0.1":"2016-07-13T16:52:46.531Z","1.1.0":"2016-07-14T16:58:50.088Z","1.2.0":"2016-07-14T17:17:43.187Z","1.3.0":"2016-09-10T15:23:29.962Z","2.0.0":"2016-12-23T18:53:26.847Z","2.0.1":"2017-03-21T18:02:10.103Z","2.0.2":"2017-03-21T18:40:09.821Z","2.0.3":"2017-03-21T20:14:15.445Z","2.1.0":"2018-04-20T19:34:41.355Z"},"homepage":"https://github.com/alexgorbatchev/run-when-changed#readme","keywords":["watching","files","changes","exec","spawn","monitor","testing","mocha","gaze","watch"],"repository":{"type":"git","url":"git+https://github.com/alexgorbatchev/run-when-changed.git"},"author":{"name":"Alex Gorbatchev","url":"https://github.com/alexgorbatchev"},"bugs":{"url":"https://github.com/alexgorbatchev/run-when-changed/issues"},"license":"ISC","readmeFilename":"README.md"}