{"id":13487448,"url":"https://github.com/eggjs/development","last_synced_at":"2025-10-14T14:17:24.348Z","repository":{"id":57220396,"uuid":"63205523","full_name":"eggjs/development","owner":"eggjs","description":"egg plugin for development","archived":false,"fork":false,"pushed_at":"2025-01-11T06:49:08.000Z","size":94,"stargazers_count":58,"open_issues_count":0,"forks_count":8,"subscribers_count":18,"default_branch":"3.x","last_synced_at":"2025-10-05T14:02:01.690Z","etag":null,"topics":["egg-development","egg-plugin"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eggjs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2016-07-13T01:54:46.000Z","updated_at":"2025-01-13T03:21:24.000Z","dependencies_parsed_at":"2025-01-06T11:21:14.433Z","dependency_job_id":"b5584351-a241-409d-9d06-bad6921779af","html_url":"https://github.com/eggjs/development","commit_stats":{"total_commits":51,"total_committers":12,"mean_commits":4.25,"dds":0.5490196078431373,"last_synced_commit":"925299cd0e87e478f0c6b583aa83feb1974a2634"},"previous_names":["eggjs/development"],"tags_count":29,"template":false,"template_full_name":null,"purl":"pkg:github/eggjs/development","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eggjs%2Fdevelopment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eggjs%2Fdevelopment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eggjs%2Fdevelopment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eggjs%2Fdevelopment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eggjs","download_url":"https://codeload.github.com/eggjs/development/tar.gz/refs/heads/3.x","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eggjs%2Fdevelopment/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279018815,"owners_count":26086576,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["egg-development","egg-plugin"],"created_at":"2024-07-31T18:00:59.489Z","updated_at":"2025-10-14T14:17:24.342Z","avatar_url":"https://github.com/eggjs.png","language":"TypeScript","readme":"# egg-development\n\n[![NPM version][npm-image]][npm-url]\n[![CI](https://github.com/eggjs/development/actions/workflows/nodejs.yml/badge.svg?branch=2.x)](https://github.com/eggjs/development/actions/workflows/nodejs.yml)\n[![Test coverage][codecov-image]][codecov-url]\n[![Known Vulnerabilities][snyk-image]][snyk-url]\n[![npm download][download-image]][download-url]\n[![Node.js Version](https://img.shields.io/node/v/egg-development.svg?style=flat)](https://nodejs.org/en/download/)\n\n[npm-image]: https://img.shields.io/npm/v/egg-development.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/egg-development\n[codecov-image]: https://img.shields.io/codecov/c/github/eggjs/egg-development.svg?style=flat-square\n[codecov-url]: https://codecov.io/github/eggjs/development?branch=3.x\n[snyk-image]: https://snyk.io/test/npm/egg-development/badge.svg?style=flat-square\n[snyk-url]: https://snyk.io/test/npm/egg-development\n[download-image]: https://img.shields.io/npm/dm/egg-development.svg?style=flat-square\n[download-url]: https://npmjs.org/package/egg-development\n\nThis is an egg plugin for local development, under development environment enabled by default, and closed under other environment.\n\n`egg-development` has been built-in for egg. It is enabled by default.\n\n## Configuration\n\nsee [config/config.default.js](https://github.com/eggjs/development/blob/3.x/config/config.default.js) for more detail.\n\n## Features\n\n- Under development environment, Output request log in STDOUT, statistic and output all key parts time-consuming;\n- Watch file changes, and reload application；\n\n### About Reload\n\nUnder the following directory (including subdirectories) will watch file changes under development environment by default, trigger an Egg development environment server reload:\n\n- ${app_root}/app\n- ${app_root}/config\n- ${app_root}/mocks\n- ${app_root}/mocks_proxy\n- ${app_root}/app.js\n\n\u003e set `config.development.overrideDefault` to `true` to skip defaults merge.\n\nUnder the following directory (including subdirectories) will ignore file changes under development environment by default:\n\n- ${app_root}/app/view\n- ${app_root}/app/assets\n- ${app_root}/app/public\n- ${app_root}/app/web\n\n\u003e set `config.development.overrideIgnore` to `true` to skip defaults merge.\n\nDeveloper can use `config.reloadPattern`([multimatch](https://github.com/sindresorhus/multimatch)) to control whether to reload.\n\n```js\n// config/config.default.js\nexports.development = {\n  // don't reload when ts fileChanged\n  // https://github.com/sindresorhus/multimatch\n  reloadPattern: ['**', '!**/*.ts'],\n};\n```\n\n### Loader Trace\n\nYou can view loader trace for performance issue from `http://127.0.0.1:7001/__loader_trace__`\n\n## Questions \u0026 Suggestions\n\nPlease open an issue [here](https://github.com/eggjs/egg/issues).\n\n## License\n\n[MIT](LICENSE)\n\n## Contributors\n\n[![Contributors](https://contrib.rocks/image?repo=eggjs/development)](https://github.com/eggjs/development/graphs/contributors)\n\nMade with [contributors-img](https://contrib.rocks).\n","funding_links":[],"categories":["仓库"],"sub_categories":["[内置插件](https://eggjs.org/zh-cn/basics/plugin.html#%E6%8F%92%E4%BB%B6%E5%88%97%E8%A1%A8)"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feggjs%2Fdevelopment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feggjs%2Fdevelopment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feggjs%2Fdevelopment/lists"}