This is an egg plugin for local development, under development environment enabled by default, and closed under other environment.
egg-development has been built-in for egg. It is enabled by default.
see config/config.default.js for more detail.
- Under development environment, Output request log in STDOUT, statistic and output all key parts time-consuming;
- Watch file changes, and reload application；
Under the following directory (including subdirectories) will watch file changes under development environment by default, trigger an Egg development environment server reload:
trueto skip defaults merge.
Under the following directory (including subdirectories) will ignore file changes under development environment by default:
Developer can use
config.reloadPattern(multimatch) to control whether to reload.
// config/config.default.jsexportsdevelopment =// don't reload when ts fileChanged//reloadPattern: '**' '!**/*.ts';
You can view loader trace for performance issue from
Questions & Suggestions
Please open an issue here.