{"_id":"egg-watcher","_rev":"941651","name":"egg-watcher","description":"file watcher plugin for egg","dist-tags":{"latest":"3.1.1"},"maintainers":[{"name":"atian25","email":"atian25@qq.com"},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"eggjs","email":"fengmk2+eggjs@gmail.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"luckydrq","email":"drqzju@gmail.com"},{"name":"popomore","email":"sakura9515@gmail.com"},{"name":"shaoshuai0102","email":"shaoshuai0102@gmail.com"}],"time":{"modified":"2024-08-03T11:11:26.000Z","created":"2016-05-26T09:10:20.702Z","3.1.1":"2020-03-26T02:08:02.403Z","3.1.0":"2018-09-20T15:58:32.730Z","3.0.0":"2017-11-10T12:17:10.482Z","2.2.0":"2017-09-08T09:26:12.139Z","2.1.3":"2017-06-04T14:17:39.040Z","2.1.2":"2017-05-03T04:06:32.432Z","2.1.1":"2017-04-13T09:53:39.072Z","2.1.0":"2017-02-20T08:49:49.888Z","2.0.0":"2017-01-25T09:12:48.758Z","1.0.0":"2016-07-20T14:27:55.334Z","0.0.2":"2016-07-16T10:29:54.166Z","0.0.1":"2016-05-26T09:10:20.702Z"},"users":{},"repository":{"type":"git","url":"git+ssh://git@github.com/eggjs/egg-watcher.git"},"versions":{"3.1.1":{"name":"egg-watcher","version":"3.1.1","description":"file watcher plugin for egg","eggPlugin":{"name":"watcher"},"scripts":{"lint":"eslint --ext js . --fix","test":"egg-bin test","cov":"egg-bin cov","ci":"npm run lint && npm run cov","autod":"autod"},"dependencies":{"camelcase":"^5.0.0","sdk-base":"^3.5.0","wt":"^1.2.0"},"devDependencies":{"autod":"^3.0.1","egg":"^2.11.2","egg-bin":"^4.9.0","egg-ci":"^1.8.0","egg-mock":"^3.20.1","eslint":"^5.6.0","eslint-config-egg":"^7.1.0","mz-modules":"^2.1.0","pedding":"^1.1.0"},"homepage":"https://github.com/eggjs/egg-watcher","repository":{"type":"git","url":"git+ssh://git@github.com/eggjs/egg-watcher.git"},"keywords":["egg-watcher","egg","watcher","watch"],"engines":{"node":">= 8.0.0"},"ci":{"version":"8, 10","license":{"year":2016}},"gitHead":"940b52e9c6bb944839387c1b66f6a123ee9b5a5f","bugs":{"url":"https://github.com/eggjs/egg-watcher/issues"},"_id":"egg-watcher@3.1.1","_nodeVersion":"10.15.1","_npmVersion":"6.11.3","dist":{"integrity":"sha512-fLo8f2GD9kSrAKeDoXaCckl9MaMMwTEkqU9gVDYWYGPYLsmX79ugA+Wo/2RGQkytsxSCk3bn8YqhPdMzsozgWA==","shasum":"f1223596c4fe1740218748c8b913f8ca69d2104a","tarball":"http://registry-npm.ywwl.com/egg-watcher/download/egg-watcher-3.1.1.tgz","fileCount":14,"unpackedSize":14597,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJefA6ECRA9TVsSAnZWagAAJM4P/0E7/0qep+Km6hPXu3L0\n2jj2Wf3Iwco4XU3hQc1yT+jscQjJ6uOi+spVw92MS9/39bH2IdB7Jg/wBqek\nRMmpsRUbvBbIAMmntHfP7M7GVKZ67v4a+eh7ybpvzLEoHZPewkT1g19yAvTs\nxrnd8sWSgzKUgcbl5jebSH1ahWk2dVhVja02BcGk6UyevMw3QzEOlYJuJCAq\n/pkwc05j0t9R/xvlEJLjPlWm7k0QB3qgYbzXeRFk86qJHKEZEqeq4DDFFrYy\ncs6Y7C88R5kqd+WTCaI4mG3pzT5oIqlE1fPqrTLyA9UCbPFBwLIvsQGO3prn\nsNcA2QsTIE0oWh7CHueUWJ7geQoM4AKrHJeY1336HEXFlDWoR7eGUtmYIF3y\nyes21xgajqbrKFntl6HEbscxLjxxBNEQ27D/PSIMOA1iA7JE+PQEC+p89qhF\ndnm12YuDdXuUWOpJ9uaBJ3FN7obZrtcoE3Z3FvLGL4txIDsY7WmoUw+SlnoT\n9SK4v/64Sdmt111U2G1X5xtgFkXglHB24kUhFDwMN54g/WqAnBulzRtWjHvR\ns4p4/IKiCS5cRzNUuaJjs+2kY11nlaPoH5j4430bOb7JEcvZKVfdB3RAv/mL\nZgBpSwjoYHqeisNxDMqFVZBeUxqb2T3cTDlinZUkPBvX3Qyiisgj9zZeF1/2\nAhhk\r\n=FnN6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEK4MP+5/rc5gXLHRiEl+2U8WhqCv7CyWJbTtgoWaZRjAiEAotV3x6KsOQt19/7hKAySXXHyaj6RU3yGjo0TYrpt6uw="}],"size":5683,"noattachment":false,"key":"/egg-watcher/-/egg-watcher-3.1.1.tgz"},"maintainers":[{"name":"atian25","email":"atian25@qq.com"},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"eggjs","email":"fengmk2+eggjs@gmail.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"luckydrq","email":"drqzju@gmail.com"},{"name":"popomore","email":"sakura9515@gmail.com"},{"name":"shaoshuai0102","email":"shaoshuai0102@gmail.com"}],"_npmUser":{"name":"atian25","email":"atian25@qq.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/egg-watcher_3.1.1_1585188482218_0.9484279370369433"},"_hasShrinkwrap":false,"publish_time":1585188482403,"_cnpm_publish_time":1585188482403},"3.1.0":{"name":"egg-watcher","version":"3.1.0","description":"file watcher plugin for egg","eggPlugin":{"name":"watcher"},"scripts":{"lint":"eslint --ext js . --fix","test":"egg-bin test","cov":"egg-bin cov","ci":"npm run lint && npm run cov","autod":"autod"},"dependencies":{"camelcase":"^5.0.0","sdk-base":"^3.5.0","wt":"^1.2.0"},"devDependencies":{"autod":"^3.0.1","egg":"^2.11.2","egg-bin":"^4.9.0","egg-ci":"^1.8.0","egg-mock":"^3.20.1","eslint":"^5.6.0","eslint-config-egg":"^7.1.0","mz-modules":"^2.1.0","pedding":"^1.1.0"},"homepage":"https://github.com/eggjs/egg-watcher","repository":{"type":"git","url":"git+ssh://git@github.com/eggjs/egg-watcher.git"},"keywords":["egg-watcher","egg","watcher","watch"],"engines":{"node":">= 8.0.0"},"ci":{"version":"8, 10","license":{"year":2016}},"gitHead":"c81b7f6e21a4aca3878b5b059208d2f2293fdd35","bugs":{"url":"https://github.com/eggjs/egg-watcher/issues"},"_id":"egg-watcher@3.1.0","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"dist":{"integrity":"sha512-0g7Kh4LySWaknwHhTz9IoYLVlT7WLXmbWa1zaV3E+WPrszdroBXGFb4ERnko8QsdPqE4sGiP1BajZl33/++ZvA==","shasum":"9bc4ec308ee94110546e059bbf22da5bd3f1eaa0","tarball":"http://registry-npm.ywwl.com/egg-watcher/download/egg-watcher-3.1.0.tgz","fileCount":14,"unpackedSize":14201,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbo8OpCRA9TVsSAnZWagAAF7AP/1WpXOdc5CzIRJasMo/O\naLh9TXtf2ejROnBGP9LFNJKj9rVxbWtMCqEPWwLOj4snQS0Rz1loS28n8uvP\n69vk4IMh6rk9SvcX/v16/Y4g+3S+Rs8TNCzrCja+1sTgA5gsYHhTUbUJrl43\npHgKN8yKRLREcF8lbcvEvhVcZeKz33/Y1tIQbymzermT6adzjeqUDsXcFCzG\nJz3jgTeZfO+vgoBE598XBQ+l97LnYRknNTTWiOaBdhNBFWCi47sV9PbmbQ2R\nAiu1esTV6ZePgLsTxtR77yL6kJCGk8wjJRXfXLsJ9r/BXkKj7pHhLhB0iIGS\nRzHUp+7LNt0ngXUuaJ3L9OnMn/V3F0hyX/NpNfXXA3BgsYai+TZyNk4BjksL\n02p4XJK1pYm9RIJObaMftvO9etGfsPVOXPTNHFndNm89duyJaoVXT4QjlknB\nwbavJyeGmEnyfBp6N3eC7LsJdhmSZaL2MHHnhcY5e4WZ9uwnOxrrMmhVh1mZ\nAawTxpNe8ixrfcCb4caiDe3GG5ut80OOpHuhwkGC5HsS4b8aE7VC2zEzIVMt\nNaaCaTncYPRvNThVt9nmUxDJHD6xTXGDNHMEIi31RaG8UHyUdJkKtM49VZn9\n6mxmjxiEV12wT0jVPhSe0HGVqfyXJ+WcYRgMn5XOYUOYb0Y0HOrduah4XUJI\nhNWx\r\n=jWrZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDPMpkTO6T9J2wTOsfIiiELc+OawzBffmQJP1JMZMqKOAiEA+J9/+YHxeffYM25OJ+V5+xrxH5TFopClJRupCc1G0iA="}],"size":5501,"noattachment":false,"key":"/egg-watcher/-/egg-watcher-3.1.0.tgz"},"maintainers":[{"name":"atian25","email":"atian25@qq.com"},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"eggjs","email":"fengmk2+eggjs@gmail.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"luckydrq","email":"drqzju@gmail.com"},{"name":"popomore","email":"sakura9515@gmail.com"},{"name":"shaoshuai0102","email":"shaoshuai0102@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/egg-watcher_3.1.0_1537459112596_0.9804148515359954"},"_hasShrinkwrap":false,"publish_time":1537459112730,"_cnpm_publish_time":1537459112730},"3.0.0":{"name":"egg-watcher","version":"3.0.0","description":"file watcher plugin for egg","eggPlugin":{"name":"watcher"},"files":["app.js","agent.js","config","lib"],"scripts":{"lint":"eslint --ext js . --fix","test":"egg-bin test","cov":"egg-bin cov","ci":"npm run lint && npm run cov","autod":"autod"},"dependencies":{"camelcase":"^4.1.0","sdk-base":"^3.3.0","wt":"^1.1.1"},"devDependencies":{"autod":"^2.10.1","egg":"next","egg-bin":"^4.3.5","egg-ci":"^1.8.0","egg-mock":"^3.13.1","eslint":"^4.10.0","eslint-config-egg":"^5.1.1","ko-sleep":"^1.0.3","pedding":"^1.1.0","supertest":"^3.0.0"},"homepage":"https://github.com/eggjs/egg-watcher","repository":{"type":"git","url":"git+ssh://git@github.com/eggjs/egg-watcher.git"},"keywords":["egg-watcher","egg","watcher","watch"],"engines":{"node":">= 8.0.0"},"ci":{"version":"8, 9"},"gitHead":"f1e188998733c025c8e405d7344d8fa4b96f08e3","bugs":{"url":"https://github.com/eggjs/egg-watcher/issues"},"_id":"egg-watcher@3.0.0","_npmVersion":"5.5.1","_nodeVersion":"8.4.0","_npmUser":{"name":"dead_horse","email":"dead_horse@qq.com"},"dist":{"integrity":"sha512-EreU9GobvbOB9ZuORrxhOUV5lgjlXqIBjOOtPvot7jlO4MLPv5LUVsBiaM7O3O9EGPvIXsjqvW885KTNZwr7Kg==","shasum":"0f099f444c7a557d2eb0c0f625110204faff7e65","tarball":"http://registry-npm.ywwl.com/egg-watcher/download/egg-watcher-3.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDFP7rZqPDDSVKB5g+dd/M5Fe3A68mC+wpyx/fcJeIHlAIhAPZ68V8N1ouSfBuS5uUow9IG5K5aT2EQ+ZbkYj71ltmD"}],"size":5351,"noattachment":false,"key":"/egg-watcher/-/egg-watcher-3.0.0.tgz"},"maintainers":[{"name":"atian25","email":"atian25@qq.com"},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"eggjs","email":"fengmk2+eggjs@gmail.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"luckydrq","email":"drqzju@gmail.com"},{"name":"popomore","email":"sakura9515@gmail.com"},{"name":"shaoshuai0102","email":"shaoshuai0102@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/egg-watcher-3.0.0.tgz_1510316230162_0.3812700391281396"},"directories":{},"publish_time":1510316230482,"_cnpm_publish_time":1510316230482},"2.2.0":{"name":"egg-watcher","version":"2.2.0","description":"file watcher plugin for egg","eggPlugin":{"name":"watcher"},"files":["app.js","agent.js","config","lib"],"scripts":{"lint":"eslint --ext js . --fix","test":"egg-bin test","cov":"egg-bin cov","ci":"npm run lint && npm run cov","autod":"autod"},"dependencies":{"camelcase":"^4.1.0","sdk-base":"^3.1.1","wt":"^1.1.1"},"devDependencies":{"autod":"^2.8.0","egg":"^1.2.0","egg-bin":"^3.3.2","egg-ci":"^1.6.0","egg-mock":"^3.5.0","eslint":"^3.19.0","eslint-config-egg":"^3.2.0","ko-sleep":"^1.0.2","pedding":"^1.1.0","supertest":"^3.0.0"},"homepage":"https://github.com/eggjs/egg-watcher","repository":{"type":"git","url":"git+ssh://git@github.com/eggjs/egg-watcher.git"},"keywords":["egg-watcher","egg","watcher","watch"],"engines":{"node":">= 6.0.0"},"ci":{"version":"6, 7, 8"},"gitHead":"dd67a9d041a242053e1620779a98a894f2bf40dd","bugs":{"url":"https://github.com/eggjs/egg-watcher/issues"},"_id":"egg-watcher@2.2.0","_shasum":"a03cca899b5854c8b7711206d2f8505379b7f1e5","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"shaoshuai0102","email":"shaoshuai0102@gmail.com"},"dist":{"shasum":"a03cca899b5854c8b7711206d2f8505379b7f1e5","tarball":"http://registry-npm.ywwl.com/egg-watcher/download/egg-watcher-2.2.0.tgz","integrity":"sha512-DHMGUZa8b9w4bNSqHhEm1ExbLNKbmSJmakTxgQNHYFXotNkwfHZfD42RCfyUsDOgY7tScD0QhN5Zo5x0PCw+yw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICOjeZc4D736y2TK6q3lZZmGDaXYUGbHOSo48vOFXqOtAiEAoPNmC9WC2pBg4g3SXcTXGebtiX1fPVUsrhIQua633vQ="}],"size":5219,"noattachment":false,"key":"/egg-watcher/-/egg-watcher-2.2.0.tgz"},"maintainers":[{"name":"atian25","email":"atian25@qq.com"},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"eggjs","email":"fengmk2+eggjs@gmail.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"luckydrq","email":"drqzju@gmail.com"},{"name":"popomore","email":"sakura9515@gmail.com"},{"name":"shaoshuai0102","email":"shaoshuai0102@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/egg-watcher-2.2.0.tgz_1504862772057_0.9008808590006083"},"directories":{},"publish_time":1504862772139,"_cnpm_publish_time":1504862772139},"2.1.3":{"name":"egg-watcher","version":"2.1.3","description":"file watcher plugin for egg","eggPlugin":{"name":"watcher"},"files":["app.js","agent.js","config","lib"],"scripts":{"lint":"eslint --ext js . --fix","test":"egg-bin test","cov":"egg-bin cov","ci":"npm run lint && npm run cov","autod":"autod"},"dependencies":{"camelcase":"^4.1.0","sdk-base":"^3.1.1","wt":"^1.1.1"},"devDependencies":{"autod":"^2.8.0","egg":"^1.2.0","egg-bin":"^3.3.2","egg-ci":"^1.6.0","egg-mock":"^3.5.0","eslint":"^3.19.0","eslint-config-egg":"^3.2.0","ko-sleep":"^1.0.2","pedding":"^1.1.0","supertest":"^3.0.0"},"homepage":"https://github.com/eggjs/egg-watcher","repository":{"type":"git","url":"git+ssh://git@github.com/eggjs/egg-watcher.git"},"keywords":["egg-watcher","egg","watcher","watch"],"engines":{"node":">= 6.0.0"},"ci":{"version":"6, 7"},"gitHead":"6263d568124a15193a8196df4298f628d5f7c644","bugs":{"url":"https://github.com/eggjs/egg-watcher/issues"},"_id":"egg-watcher@2.1.3","_npmVersion":"5.0.0","_nodeVersion":"8.0.0","_npmUser":{"name":"popomore","email":"sakura9515@gmail.com"},"dist":{"integrity":"sha512-G08+KxBZKNmO+ANISOiCFv3FIZft7Yhx0bKhHkVFATaZIe/dMSClXiBlbS00WcFvMTwmClBGmGH6GwSo6/vcng==","shasum":"581a654d0beb65a68c69f129b58d609119ba5cbe","tarball":"http://registry-npm.ywwl.com/egg-watcher/download/egg-watcher-2.1.3.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD870tzUuE5OzVQkwef5wFkk24Bo1Z2lmDkGEn+TeY9uwIgWpC6ZEVwSqjdTkXUJrWtWsp3hOLHJWgQI5caUpgogi0="}],"size":5151,"noattachment":false,"key":"/egg-watcher/-/egg-watcher-2.1.3.tgz"},"maintainers":[{"name":"atian25","email":"atian25@qq.com"},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"eggjs","email":"fengmk2+eggjs@gmail.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"luckydrq","email":"drqzju@gmail.com"},{"name":"popomore","email":"sakura9515@gmail.com"},{"name":"shaoshuai0102","email":"shaoshuai0102@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/egg-watcher-2.1.3.tgz_1496585858951_0.70465197134763"},"directories":{},"publish_time":1496585859040,"_cnpm_publish_time":1496585859040},"2.1.2":{"name":"egg-watcher","version":"2.1.2","description":"file watcher plugin for egg","eggPlugin":{"name":"watcher"},"files":["app.js","agent.js","config","lib"],"scripts":{"lint":"eslint --ext js . --fix","test":"egg-bin test","cov":"egg-bin cov","ci":"npm run lint && npm run cov","autod":"autod"},"dependencies":{"camelcase":"^4.1.0","sdk-base":"^3.1.1","wt":"^1.1.1"},"devDependencies":{"autod":"^2.8.0","egg":"^1.2.0","egg-bin":"^3.3.2","egg-ci":"^1.6.0","egg-mock":"^3.5.0","eslint":"^3.19.0","eslint-config-egg":"^3.2.0","ko-sleep":"^1.0.2","pedding":"^1.1.0","supertest":"^3.0.0"},"homepage":"https://github.com/eggjs/egg-watcher","repository":{"type":"git","url":"git+ssh://git@github.com/eggjs/egg-watcher.git"},"keywords":["egg-watcher","egg","watcher","watch"],"engines":{"node":">= 6.0.0"},"ci":{"version":"6, 7"},"gitHead":"c5adb75a8992f643e88b475827f02079f53166e5","bugs":{"url":"https://github.com/eggjs/egg-watcher/issues"},"_id":"egg-watcher@2.1.2","_shasum":"6b3ac7b0b8dd5b36628e7d0e9f10e91e8f2ea495","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"shaoshuai0102","email":"shaoshuai0102@gmail.com"},"dist":{"shasum":"6b3ac7b0b8dd5b36628e7d0e9f10e91e8f2ea495","tarball":"http://registry-npm.ywwl.com/egg-watcher/download/egg-watcher-2.1.2.tgz","integrity":"sha512-Uw9fVhAw9IJuyc5hFdFDlN+E+TEaMXvim+7WpuFrz+Czj2cFmCWOlRroscQASZ5PGw2QfjYGcau1vwH6AA1NPA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAje/K0G183gJsVqzUyNYnAM4tv9EU7U3LhNCl2satFHAiEA07mU4+CtnLlXfkNEuvH+JL+x0swucqdDAtvYrIPFC04="}],"size":5130,"noattachment":false,"key":"/egg-watcher/-/egg-watcher-2.1.2.tgz"},"maintainers":[{"name":"atian25","email":"atian25@qq.com"},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"eggjs","email":"fengmk2+eggjs@gmail.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"luckydrq","email":"drqzju@gmail.com"},{"name":"popomore","email":"sakura9515@gmail.com"},{"name":"shaoshuai0102","email":"shaoshuai0102@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/egg-watcher-2.1.2.tgz_1493784392113_0.5356267092283815"},"directories":{},"publish_time":1493784392432,"_cnpm_publish_time":1493784392432},"2.1.1":{"name":"egg-watcher","version":"2.1.1","description":"file watcher plugin for egg","eggPlugin":{"name":"watcher"},"files":["app.js","agent.js","config","lib"],"scripts":{"lint":"eslint --ext js . --fix","test":"egg-bin test","cov":"egg-bin cov","ci":"npm run lint && npm run cov","autod":"autod"},"dependencies":{"camelcase":"^4.0.0","detect-port":"^1.1.0","sdk-base":"^3.0.1","wt":"^1.1.1"},"devDependencies":{"autod":"^2.7.1","egg":"*","egg-bin":"^2.0.1","egg-ci":"^1.1.0","egg-mock":"^2.1.0","eslint":"^3.14.0","eslint-config-egg":"^3.2.0","ko-sleep":"^1.0.2","pedding":"^1.1.0","supertest":"^2.0.1"},"homepage":"https://github.com/eggjs/egg-watcher","repository":{"type":"git","url":"git+ssh://git@github.com/eggjs/egg-watcher.git"},"keywords":["egg-watcher","egg","watcher","watch"],"engines":{"node":">= 6.0.0"},"ci":{"version":"6, 7"},"gitHead":"25f9c0388d30bf3c32683c8edbd39d4fa91ff622","bugs":{"url":"https://github.com/eggjs/egg-watcher/issues"},"_id":"egg-watcher@2.1.1","_shasum":"3facac50e17eaf745dadb5137c812e7bdc522e81","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"shaoshuai0102","email":"shaoshuai0102@gmail.com"},"dist":{"shasum":"3facac50e17eaf745dadb5137c812e7bdc522e81","tarball":"http://registry-npm.ywwl.com/egg-watcher/download/egg-watcher-2.1.1.tgz","integrity":"sha512-NArx3sRJ9V22RzAaZtEYV6EX1DxCclpljXwthjCy/tn9neipdB5e6/3wOJWiA8SHFQjLFWiQzEk8jgCjx3P05w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGGs1jCEIbvZvFCCEkva/ZnOPL4DS3GMMEN0mCePr932AiEAxwRQBZ+0vo1W6FHid7PVfRt0ER9+tV+/P9XVTlCgLzk="}],"size":5110,"noattachment":false,"key":"/egg-watcher/-/egg-watcher-2.1.1.tgz"},"maintainers":[{"name":"atian25","email":"atian25@qq.com"},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"eggjs","email":"fengmk2+eggjs@gmail.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"luckydrq","email":"drqzju@gmail.com"},{"name":"popomore","email":"sakura9515@gmail.com"},{"name":"shaoshuai0102","email":"shaoshuai0102@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/egg-watcher-2.1.1.tgz_1492077218817_0.4425139673985541"},"directories":{},"publish_time":1492077219072,"_cnpm_publish_time":1492077219072},"2.1.0":{"name":"egg-watcher","version":"2.1.0","description":"file watcher plugin for egg","eggPlugin":{"name":"watcher"},"files":["app.js","agent.js","config","lib"],"scripts":{"lint":"eslint --ext js . --fix","test":"egg-bin test","cov":"egg-bin cov","ci":"npm run lint && npm run cov","autod":"autod"},"dependencies":{"camelcase":"^4.0.0","detect-port":"^1.1.0","sdk-base":"^3.0.1","wt":"^1.1.1"},"devDependencies":{"autod":"^2.7.1","egg":"*","egg-bin":"^2.0.1","egg-ci":"^1.1.0","egg-mock":"^2.1.0","eslint":"^3.14.0","eslint-config-egg":"^3.2.0","ko-sleep":"^1.0.2","supertest":"^2.0.1"},"homepage":"https://github.com/eggjs/egg-watcher","repository":{"type":"git","url":"git+ssh://git@github.com/eggjs/egg-watcher.git"},"keywords":["egg-watcher","egg","watcher","watch"],"engines":{"node":">= 6.0.0"},"ci":{"version":"6, 7"},"gitHead":"f75288856fbe8a0859b7205eefae2b745730afd8","bugs":{"url":"https://github.com/eggjs/egg-watcher/issues"},"_id":"egg-watcher@2.1.0","_shasum":"da55a864ddcf51049ed2cd9a13b13c0c1cce0705","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.4","_npmUser":{"name":"atian25","email":"atian25@qq.com"},"dist":{"shasum":"da55a864ddcf51049ed2cd9a13b13c0c1cce0705","tarball":"http://registry-npm.ywwl.com/egg-watcher/download/egg-watcher-2.1.0.tgz","integrity":"sha512-Lg7ew5Up/8mTsByctG+ANKav5IjzS2+kusSWNCqovglzQkeIPvzL9QXXdI67tZpQb+AGG3wNQeWA5rwBxP25Gw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCRtW9c/OiieDAyIAVLNroeoy2zcxRdILp/oV88hkYIFQIhAK2UN8AUyhxTNxHc9OKDwC1Uv8vTgwtxVIIWyS9XC4mF"}],"size":5028,"noattachment":false,"key":"/egg-watcher/-/egg-watcher-2.1.0.tgz"},"maintainers":[{"name":"atian25","email":"atian25@qq.com"},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"eggjs","email":"fengmk2+eggjs@gmail.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"luckydrq","email":"drqzju@gmail.com"},{"name":"popomore","email":"sakura9515@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/egg-watcher-2.1.0.tgz_1487580588268_0.6524700759910047"},"directories":{},"publish_time":1487580589888,"_cnpm_publish_time":1487580589888},"2.0.0":{"name":"egg-watcher","version":"2.0.0","description":"file watcher plugin for egg","eggPlugin":{"name":"watcher"},"files":["app.js","agent.js","config","lib"],"scripts":{"lint":"eslint --ext js . --fix","test":"egg-bin test","cov":"egg-bin cov","ci":"npm run lint && npm run cov","autod":"autod"},"dependencies":{"detect-port":"^1.1.0","sdk-base":"^3.0.1","wt":"^1.1.1"},"devDependencies":{"autod":"^2.7.1","egg":"*","egg-bin":"^2.0.1","egg-ci":"^1.1.0","egg-mock":"^2.1.0","eslint":"^3.14.0","eslint-config-egg":"^3.2.0","ko-sleep":"^1.0.2","supertest":"^2.0.1"},"homepage":"https://github.com/eggjs/egg-watcher","repository":{"type":"git","url":"git+ssh://git@github.com/eggjs/egg-watcher.git"},"keywords":["egg-watcher","egg","watcher","watch"],"engines":{"node":">= 6.0.0"},"ci":{"version":"6, 7"},"gitHead":"39f9c4315b05ff64c1ab0d5941ce3269b1fa5b91","bugs":{"url":"https://github.com/eggjs/egg-watcher/issues"},"_id":"egg-watcher@2.0.0","_shasum":"87a0df6791c13e6d5c5e48c093f70e834b680b88","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"popomore","email":"sakura9515@gmail.com"},"dist":{"shasum":"87a0df6791c13e6d5c5e48c093f70e834b680b88","tarball":"http://registry-npm.ywwl.com/egg-watcher/download/egg-watcher-2.0.0.tgz","integrity":"sha512-AxzHV83eToIJzzalI9LoYwTar7Vg8bjIqAWdkKaUZU8oFmabzwRkyWp+5wD6PErpx8TW4otL8pHp4JUL3o1iIg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDJiILecNHWSHSOBtkyYmvb2Pz4gwPpd8nhK8WVXhff8gIgaQQmo++X1ZrsusdMSSF/tEJAzNJxKWXC0PR5A5gno2s="}],"size":4242,"noattachment":false,"key":"/egg-watcher/-/egg-watcher-2.0.0.tgz"},"maintainers":[{"name":"atian25","email":"atian25@qq.com"},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"eggjs","email":"fengmk2+eggjs@gmail.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"luckydrq","email":"drqzju@gmail.com"},{"name":"popomore","email":"sakura9515@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/egg-watcher-2.0.0.tgz_1485335567096_0.07604578090831637"},"directories":{},"publish_time":1485335568758,"_cnpm_publish_time":1485335568758},"1.0.0":{"name":"egg-watcher","version":"1.0.0","description":"file watcher plugin for egg","eggPlugin":{"name":"watcher"},"files":["app.js","agent.js","config","lib"],"scripts":{"test":"npm run lint && npm run test-local","test-local":"egg-bin test","cov":"egg-bin cov","lint":"eslint --ext js . --fix","ci":"npm run lint && npm run cov","autod":"autod"},"dependencies":{"sdk-base":"~1.1.0","wt":"~1.1.0"},"devDependencies":{"autod":"2","egg":"*","egg-bin":"1","egg-ci":"1","egg-mock":"*","eslint":"3","eslint-config-egg":"3","should":"^9.0.2","supertest":"^1.2.0"},"homepage":"https://github.com/eggjs/egg-watcher","repository":{"type":"git","url":"git+ssh://git@github.com/eggjs/egg-watcher.git"},"keywords":["egg-watcher","egg","watcher","watch"],"engines":{"node":">= 4.0.0"},"ci":{"version":"4, 6"},"gitHead":"2b57dab9b478fbb3277039665a30fa90f4ea3f23","bugs":{"url":"https://github.com/eggjs/egg-watcher/issues"},"_id":"egg-watcher@1.0.0","_shasum":"9ab8824f5ed87459206e3fcc4e38212a64ee58b0","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"luckydrq","email":"drqzju@gmail.com"},"dist":{"shasum":"9ab8824f5ed87459206e3fcc4e38212a64ee58b0","tarball":"http://registry-npm.ywwl.com/egg-watcher/download/egg-watcher-1.0.0.tgz","integrity":"sha512-LjHP1OHKNsHHYLb4bjdwLEzkUqYe2EN4EYKOlwsJuDenqSPt/wo/JC1JIUvHfgWfy7HSuZzEfNK3faAc0oOZPw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDy+gZ+hGBe50eessVoNNenM1gK+nf7DymBRRvJlkejbwIhAKaVtEguBawsB4Us3mfV1cKiaNl1uvV8rbAkE+G/T86q"}],"size":4330,"noattachment":false,"key":"/egg-watcher/-/egg-watcher-1.0.0.tgz"},"maintainers":[{"name":"atian25","email":"atian25@qq.com"},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"eggjs","email":"fengmk2+eggjs@gmail.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"luckydrq","email":"drqzju@gmail.com"},{"name":"popomore","email":"sakura9515@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/egg-watcher-1.0.0.tgz_1469024868093_0.16369202686473727"},"directories":{},"publish_time":1469024875334,"_cnpm_publish_time":1469024875334},"0.0.2":{"name":"egg-watcher","version":"0.0.2","description":"file watcher plugin for egg","eggPlugin":{"name":"watcher"},"files":["app.js","agent.js","config","lib"],"scripts":{"test":"npm run lint && npm run test-local","test-local":"egg-bin test","cov":"egg-bin cov","lint":"eslint --ext js . --fix","ci":"npm run lint && npm run cov","autod":"autod"},"dependencies":{"sdk-base":"~1.1.0","wt":"~1.1.0"},"devDependencies":{"autod":"^2.6.1","egg-bin":"^1.0.2","egg-ci":"^1.0.2","eslint":"3","eslint-config-egg":"3","should":"^9.0.2","supertest":"^1.2.0"},"homepage":"https://github.com/eggjs/egg-watcher","repository":{"type":"git","url":"git+ssh://git@github.com/eggjs/egg-watcher.git"},"keywords":["egg-watcher","egg","watcher","watch"],"engines":{"node":">= 4.0.0"},"ci":{"version":"4, 6"},"gitHead":"17405238501e1311627a931c5af0ff1f47c4ead1","bugs":{"url":"https://github.com/eggjs/egg-watcher/issues"},"_id":"egg-watcher@0.0.2","_shasum":"d1e0cc2606eb6b7aaa979c1cf2e79a6fee703feb","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"luckydrq","email":"drqzju@gmail.com"},"dist":{"shasum":"d1e0cc2606eb6b7aaa979c1cf2e79a6fee703feb","tarball":"http://registry-npm.ywwl.com/egg-watcher/download/egg-watcher-0.0.2.tgz","integrity":"sha512-NKI+Lvfe0vWFw4DzmE1ybDfo6SfQ4GDTHZJDrWyykZYJEVbJQy0YQUdq5KAwq7b2wt9/51GncZ1EGiTCYkryew==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHkkvneFssIiOJM1+/XT1drEjaK9HbhnYza9RCtl73o5AiEA3nerP1tzvoXuQLRR8zFrX1yh/RrD/82Fgy/2BfCs9oU="}],"size":4328,"noattachment":false,"key":"/egg-watcher/-/egg-watcher-0.0.2.tgz"},"maintainers":[{"name":"atian25","email":"atian25@qq.com"},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"luckydrq","email":"drqzju@gmail.com"},{"name":"popomore","email":"sakura9515@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/egg-watcher-0.0.2.tgz_1468664991629_0.3189415377564728"},"directories":{},"publish_time":1468664994166,"_cnpm_publish_time":1468664994166},"0.0.1":{"name":"egg-watcher","version":"0.0.1","description":"egg plugin <egg-watcher>","keywords":["egg","eggjs","egg-plugin"],"homepage":"https://github.com/eggjs/egg-watcher","license":"MIT","author":{"name":"eggjs"},"contributors":[{"name":"TZ","email":"atian25@qq.com"},{"name":"popomore","email":"sakura9515@gmail.com"},{"name":"fengmk2","email":"m@fengmk2.com"},{"name":"dead-horse","email":"heyiyu.deadhorse@gmail.com"}],"repository":{"type":"git","url":"git+ssh://git@github.com/eggjs/egg-watcher.git"},"bugs":{"url":"https://github.com/eggjs/egg-watcher/issues"},"_id":"egg-watcher@0.0.1","scripts":{},"_shasum":"92f38f8d6d5762a5142c14282735dadc1941d88d","_from":".","_npmVersion":"2.15.1","_nodeVersion":"4.4.4","_npmUser":{"name":"atian25","email":"atian25@qq.com"},"dist":{"shasum":"92f38f8d6d5762a5142c14282735dadc1941d88d","tarball":"http://registry-npm.ywwl.com/egg-watcher/download/egg-watcher-0.0.1.tgz","integrity":"sha512-RHpSWkaDSnShuEhNJ4UriTx7BQmZHhu5YJ1h+6tFZmC8EJCl89MUn25xgyXG1qaAp4vwvN8qPNHXVTIZ/VVE/w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDdKi9N1ls0JaOgytA840tEDvjw9ysZGhc8UOI0tFiI7QIgWydmvf4zLfxH/ktF67KLdgw5cr9u1LVr39pF8kyK0H0="}],"size":423,"noattachment":false,"key":"/egg-watcher/-/egg-watcher-0.0.1.tgz"},"maintainers":[{"name":"atian25","email":"atian25@qq.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/egg-watcher-0.0.1.tgz_1464253818064_0.003836379386484623"},"directories":{},"publish_time":1464253820702,"_cnpm_publish_time":1464253820702}},"readme":"# egg-watcher\nFile watcher plugin for egg\n\n[![NPM version][npm-image]][npm-url]\n[![build status][travis-image]][travis-url]\n[![Test coverage][codecov-image]][codecov-url]\n[![David deps][david-image]][david-url]\n[![Known Vulnerabilities][snyk-image]][snyk-url]\n[![npm download][download-image]][download-url]\n\n[npm-image]: https://img.shields.io/npm/v/egg-watcher.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/egg-watcher\n[travis-image]: https://img.shields.io/travis/eggjs/egg-watcher.svg?style=flat-square\n[travis-url]: https://travis-ci.org/eggjs/egg-watcher\n[codecov-image]: https://codecov.io/github/eggjs/egg-watcher/coverage.svg?branch=master\n[codecov-url]: https://codecov.io/github/eggjs/egg-watcher?branch=master\n[david-image]: https://img.shields.io/david/eggjs/egg-watcher.svg?style=flat-square\n[david-url]: https://david-dm.org/eggjs/egg-watcher\n[snyk-image]: https://snyk.io/test/npm/egg-watcher/badge.svg?style=flat-square\n[snyk-url]: https://snyk.io/test/npm/egg-watcher\n[download-image]: https://img.shields.io/npm/dm/egg-watcher.svg?style=flat-square\n[download-url]: https://npmjs.org/package/egg-watcher\n\n## Usage\n\nIn worker process:\n\n### app.watcher.watch(path, listener)\nStart watching file(s).\n\n- path(String|Array): file path(s)\n- listener(Function): file change callback\n\n### app.watcher.unwatch(path[, listener])\nStop watching file(s).\n\n- path(String|Array): file path(s)\n- listener(Function): file change callback\n\nIn agent process:\n\n### agent.watcher.watch(path, listener)\nStart watching file(s).\n\n- path(String|Array): file path(s)\n- listener(Function): file change callback\n\n### agent.watcher.unwatch(path[, listener])\nStop watching file(s).\n\n- path(String|Array): file path(s)\n- listener(Function): file change callback\n\n## Watching mode\n\n### `development` Mode\n\nThere's a built-in [development mode](https://github.com/eggjs/egg-watcher/blob/master/lib/event-sources/development.js) which works in local(env is `local`). Once files on disk is modified it will emit a `change` event immediately.\n\n### Customize Watching Mode\n\nSay we want to build a custom event source plugin (package name: `egg-watcher-custom`, eggPlugin.name: `watcherCustom`).\n\nFirstly define our custom event source like this:\n\n```js\n// {plugin_root}/lib/custom_event_source.js\nconst Base = require('sdk-base');\n\nclass CustomEventSource extends Base {\n  // `opts` comes from app.config[${eventSourceName}]\n  // `eventSourceName` will be registered later in\n  // `config.watcher.eventSources` as the key shown below\n  constructor(opts) {\n    super(opts);\n    this.ready(true);\n  }\n\n  watch(path) {\n    // replace this with your desired way of watching,\n    // when aware of any change, emit a `change` event\n    // with an info object containing `path` property\n    // specifying the changed directory or file.\n    this._h = setInterval(() => {\n      this.emit('change', { path });\n    }, 1000);\n  }\n\n  unwatch() {\n    // replace this with your implementation\n    if (this._h) {\n      clearInterval(this._h);\n    }\n  }\n}\n\nmodule.exports = CustomEventSource;\n```\n\nEvent source implementations varies according to your running environment. When working with vagrant, docker, samba or such other non-standard way of development, you should use a different watch API specific to what you are working with.\n\nThen add your custom event source to config:\n\n```js\n// config.default.js\nexports.watcher = {\n  eventSources: {\n    custom: require('../lib/custom_event_source'),\n  },\n};\n```\n\nChoose to use your custom watching mode in your desired env.\n\n```js\n// config.${env}.js\nexports.watcher = {\n  type: 'custom',\n};\n\n// this will pass to your CustomEventSource constructor as opts\nexports.watcherCustom = {\n  // foo: 'bar',\n};\n```\n\nIf possible, plugins named like `egg-watcher-${customName}`(`egg-watcher-vagrant` eg.) are recommended.\n\n## Questions & Suggestions\n\nPlease open an issue [here](https://github.com/eggjs/egg/issues).\n\n## License\n\n[MIT](https://github.com/eggjs/egg-watcher/blob/master/LICENSE)\n","_attachments":{},"homepage":"https://github.com/eggjs/egg-watcher","bugs":{"url":"https://github.com/eggjs/egg-watcher/issues"}}